Mercurial > pidgin.yaz
comparison src/protocols/oscar/admin.c @ 10991:1798ad0be460
[gaim-migrate @ 12829]
Rename aim_tlvlist_add_string to aim_tlvlist_add_str.
Yes, that's one of the functions I just added.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 04:38:10 +0000 |
parents | ecc0f22db510 |
children |
comparison
equal
deleted
inserted
replaced
10990:8d74ae785a46 | 10991:1798ad0be460 |
---|---|
108 return -ENOMEM; | 108 return -ENOMEM; |
109 | 109 |
110 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); | 110 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); |
111 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); | 111 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); |
112 | 112 |
113 aim_tlvlist_add_string(&tl, 0x0001, newnick); | 113 aim_tlvlist_add_str(&tl, 0x0001, newnick); |
114 | 114 |
115 aim_tlvlist_write(&fr->data, &tl); | 115 aim_tlvlist_write(&fr->data, &tl); |
116 aim_tlvlist_free(&tl); | 116 aim_tlvlist_free(&tl); |
117 | 117 |
118 aim_tx_enqueue(sess, fr); | 118 aim_tx_enqueue(sess, fr); |
136 | 136 |
137 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); | 137 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); |
138 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); | 138 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); |
139 | 139 |
140 /* new password TLV t(0002) */ | 140 /* new password TLV t(0002) */ |
141 aim_tlvlist_add_string(&tl, 0x0002, newpw); | 141 aim_tlvlist_add_str(&tl, 0x0002, newpw); |
142 | 142 |
143 /* current password TLV t(0012) */ | 143 /* current password TLV t(0012) */ |
144 aim_tlvlist_add_string(&tl, 0x0012, curpw); | 144 aim_tlvlist_add_str(&tl, 0x0012, curpw); |
145 | 145 |
146 aim_tlvlist_write(&fr->data, &tl); | 146 aim_tlvlist_write(&fr->data, &tl); |
147 aim_tlvlist_free(&tl); | 147 aim_tlvlist_free(&tl); |
148 | 148 |
149 aim_tx_enqueue(sess, fr); | 149 aim_tx_enqueue(sess, fr); |
165 return -ENOMEM; | 165 return -ENOMEM; |
166 | 166 |
167 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); | 167 snacid = aim_cachesnac(sess, 0x0007, 0x0004, 0x0000, NULL, 0); |
168 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); | 168 aim_putsnac(&fr->data, 0x0007, 0x0004, 0x0000, snacid); |
169 | 169 |
170 aim_tlvlist_add_string(&tl, 0x0011, newemail); | 170 aim_tlvlist_add_str(&tl, 0x0011, newemail); |
171 | 171 |
172 aim_tlvlist_write(&fr->data, &tl); | 172 aim_tlvlist_write(&fr->data, &tl); |
173 aim_tlvlist_free(&tl); | 173 aim_tlvlist_free(&tl); |
174 | 174 |
175 aim_tx_enqueue(sess, fr); | 175 aim_tx_enqueue(sess, fr); |