diff src/protocols/oscar/ssi.c @ 8227:b01822d23da3

[gaim-migrate @ 8950] Make the "use Recent Buddies group" option work :-) Buddies get added to the group by the server, and when they do they show up in Gaim. It is VERY swanky. There is not yet a way to set this option in Gaim, but I definitely want to add an option for it. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 11 Feb 2004 05:18:05 +0000
parents c5e3797e7dbb
children 4f70e8b3e05e
line wrap: on
line diff
--- a/src/protocols/oscar/ssi.c	Wed Feb 11 05:01:00 2004 +0000
+++ b/src/protocols/oscar/ssi.c	Wed Feb 11 05:18:05 2004 +0000
@@ -1373,11 +1373,12 @@
 
 		aim_ssi_itemlist_add(&sess->ssi.local, name, gid, bid, type, data);
 		aim_ssi_itemlist_add(&sess->ssi.official, name, gid, bid, type, data);
-		free(name);
 		aim_tlvlist_free(&data);
 
 		if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
-			ret = userfunc(sess, rx);
+			ret = userfunc(sess, rx, type, name);
+
+		free(name);
 	}
 
 	return ret;