Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/src/protocols/oscar/admin.c Sun Mar 23 07:38:55 2003 +0000 +++ b/src/protocols/oscar/admin.c Sun Mar 23 07:59:17 2003 +0000 @@ -196,6 +196,7 @@ */ static int accountconfirm(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) { + int ret = 0; aim_rxcallback_t userfunc; fu16_t status; aim_tlvlist_t *tl; @@ -206,9 +207,9 @@ tl = aim_readtlvchain(bs); if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) - return userfunc(sess, rx, status); + ret = userfunc(sess, rx, status); - return 0; + return ret; } static int snachandler(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)