comparison src/protocols/oscar/admin.c @ 4871:0b64f386a7b8

[gaim-migrate @ 5201] Nathan is SO the man. He pointed out that oscar was leaking about 500k per IM. No, just kidding. But this should help Gaim leak a little less. It was all Nathan. He is so S-M-R-T. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 23 Mar 2003 07:59:17 +0000
parents 2532f1192da3
children 6d3d8f11e765
comparison
equal deleted inserted replaced
4870:773135edda4a 4871:0b64f386a7b8
194 * Subtype 0x0007 - Account confirmation request acknowledgement. 194 * Subtype 0x0007 - Account confirmation request acknowledgement.
195 * 195 *
196 */ 196 */
197 static int accountconfirm(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) 197 static int accountconfirm(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)
198 { 198 {
199 int ret = 0;
199 aim_rxcallback_t userfunc; 200 aim_rxcallback_t userfunc;
200 fu16_t status; 201 fu16_t status;
201 aim_tlvlist_t *tl; 202 aim_tlvlist_t *tl;
202 203
203 status = aimbs_get16(bs); 204 status = aimbs_get16(bs);
204 /* This is 0x0013 if unable to confirm at this time */ 205 /* This is 0x0013 if unable to confirm at this time */
205 206
206 tl = aim_readtlvchain(bs); 207 tl = aim_readtlvchain(bs);
207 208
208 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) 209 if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
209 return userfunc(sess, rx, status); 210 ret = userfunc(sess, rx, status);
210 211
211 return 0; 212 return ret;
212 } 213 }
213 214
214 static int snachandler(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) 215 static int snachandler(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)
215 { 216 {
216 217