diff src/protocols/oscar/email.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 9810ce8e7a96
children 26837f462a66
line wrap: on
line diff
--- a/src/protocols/oscar/email.c	Sun Mar 23 07:38:55 2003 +0000
+++ b/src/protocols/oscar/email.c	Sun Mar 23 07:59:17 2003 +0000
@@ -74,6 +74,7 @@
  */
 static int parseinfo(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;
 	struct aim_emailinfo *new;
 	aim_tlvlist_t *tlvlist;
@@ -125,9 +126,9 @@
 	new->flag = aim_gettlv16(tlvlist, 0x0084, 1);
 
 	if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
-		return userfunc(sess, rx, new, havenewmail);
+		ret = userfunc(sess, rx, new, havenewmail);
 
-	return 0;
+	return ret;
 }
 
 /**