Mercurial > pidgin
diff src/protocols/oscar/buddylist.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 | 09f7f23dc83a |
line wrap: on
line diff
--- a/src/protocols/oscar/buddylist.c Sun Mar 23 07:38:55 2003 +0000 +++ b/src/protocols/oscar/buddylist.c Sun Mar 23 07:59:17 2003 +0000 @@ -241,15 +241,16 @@ */ static int buddychange(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs) { + int ret = 0; aim_userinfo_t userinfo; aim_rxcallback_t userfunc; aim_extractuserinfo(sess, bs, &userinfo); if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) - return userfunc(sess, rx, &userinfo); + ret = userfunc(sess, rx, &userinfo); - 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)