Changeset cf02dd6 for libfaim/admin.c
- Timestamp:
- Dec 10, 2003, 3:20:45 PM (19 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, 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/admin.c
re374dee rcf02dd6 111 111 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); 112 112 113 aim_ addtlvtochain_raw(&tl, 0x0001, strlen(newnick), newnick);114 115 aim_ writetlvchain(&fr->data, &tl);116 aim_ freetlvchain(&tl);113 aim_tlvlist_add_raw(&tl, 0x0001, strlen(newnick), newnick); 114 115 aim_tlvlist_write(&fr->data, &tl); 116 aim_tlvlist_free(&tl); 117 117 118 118 aim_tx_enqueue(sess, fr); … … 139 139 140 140 /* new password TLV t(0002) */ 141 aim_ addtlvtochain_raw(&tl, 0x0002, strlen(newpw), newpw);141 aim_tlvlist_add_raw(&tl, 0x0002, strlen(newpw), newpw); 142 142 143 143 /* current password TLV t(0012) */ 144 aim_ addtlvtochain_raw(&tl, 0x0012, strlen(curpw), curpw);145 146 aim_ writetlvchain(&fr->data, &tl);147 aim_ freetlvchain(&tl);144 aim_tlvlist_add_raw(&tl, 0x0012, strlen(curpw), curpw); 145 146 aim_tlvlist_write(&fr->data, &tl); 147 aim_tlvlist_free(&tl); 148 148 149 149 aim_tx_enqueue(sess, fr); … … 168 168 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); 169 169 170 aim_ addtlvtochain_raw(&tl, 0x0011, strlen(newemail), newemail);171 172 aim_ writetlvchain(&fr->data, &tl);173 aim_ freetlvchain(&tl);170 aim_tlvlist_add_raw(&tl, 0x0011, strlen(newemail), newemail); 171 172 aim_tlvlist_write(&fr->data, &tl); 173 aim_tlvlist_free(&tl); 174 174 175 175 aim_tx_enqueue(sess, fr); … … 205 205 /* This is 0x0013 if unable to confirm at this time */ 206 206 207 tl = aim_ readtlvchain(bs);207 tl = aim_tlvlist_read(bs); 208 208 209 209 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
Note: See TracChangeset
for help on using the changeset viewer.