Changeset cf02dd6 for libfaim/search.c
- Timestamp:
- Dec 10, 2003, 3:20:45 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b1fe407
- Parents:
- 8c46404
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfaim/search.c
re374dee rcf02dd6 78 78 searchaddr = (char *)snac2->data; 79 79 80 tlvlist = aim_ readtlvchain(bs);81 m = aim_ counttlvchain(&tlvlist);80 tlvlist = aim_tlvlist_read(bs); 81 m = aim_tlvlist_count(&tlvlist); 82 82 83 /* XXX uhm. */ 84 while ((cur = aim_gettlv_str(tlvlist, 0x0001, j+1)) && j < m) { 83 /* XXX uhm. 84 * This is the only place that uses something other than 1 for the 3rd 85 * parameter to aim_tlv_gettlv_whatever(). 86 */ 87 while ((cur = aim_tlv_getstr(tlvlist, 0x0001, j+1)) && j < m) { 85 88 buf = realloc(buf, (j+1) * (MAXSNLEN+1)); 86 89 … … 91 94 } 92 95 93 aim_ freetlvchain(&tlvlist);96 aim_tlvlist_free(&tlvlist); 94 97 95 98 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
Note: See TracChangeset
for help on using the changeset viewer.