Changeset 7869e48 for libfaim/buddylist.c
- Timestamp:
- Jan 12, 2013, 1:43:13 PM (11 years ago)
- Children:
- e3a0d71, 4485285
- Parents:
- 4626016
- git-author:
- Jason Gross <jgross@mit.edu> (01/12/13 13:13:18)
- git-committer:
- Jason Gross <jgross@mit.edu> (01/12/13 13:43:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfaim/buddylist.c
rcf02dd6 r7869e48 31 31 int ret = 0; 32 32 33 /* 34 * TLVs follow 33 /* 34 * TLVs follow 35 35 */ 36 36 tlvlist = aim_tlvlist_read(bs); … … 48 48 * list. (This is called the "reverse list" by a certain 49 49 * other IM protocol.) 50 * 50 * 51 51 */ 52 52 if (aim_tlv_gettlv(tlvlist, 0x0002, 1)) … … 64 64 aim_tlvlist_free(&tlvlist); 65 65 66 return ret; 66 return ret; 67 67 } 68 68 … … 103 103 * buddy_list = "Screen Name One&ScreenNameTwo&"; 104 104 * 105 * XXX Clean this up. 105 * XXX Clean this up. 106 106 * 107 107 */ … … 114 114 char *tmpptr = NULL; 115 115 116 if (!buddy_list || !(localcpy = strdup(buddy_list))) 116 if (!buddy_list || !(localcpy = strdup(buddy_list))) 117 117 return -EINVAL; 118 118 … … 176 176 } 177 177 178 /* 178 /* 179 179 * Subtype 0x000b 180 180 * … … 194 194 195 195 snacid = aim_cachesnac(sess, 0x0003, 0x000b, 0x0000, NULL, 0); 196 196 197 197 aim_putsnac(&fr->data, 0x0003, 0x000b, 0x0000, snacid); 198 198 aim_putuserinfo(&fr->data, info); … … 203 203 } 204 204 205 /* 205 /* 206 206 * Subtype 0x000c 207 207 * … … 221 221 222 222 snacid = aim_cachesnac(sess, 0x0003, 0x000c, 0x0000, NULL, 0); 223 223 224 224 aim_putsnac(&fr->data, 0x0003, 0x000c, 0x0000, snacid); 225 225 aimbs_put8(&fr->data, strlen(sn));
Note: See TracChangeset
for help on using the changeset viewer.