changeset 2682:db2b0b733732

[gaim-migrate @ 2695] forgot this. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 07 Nov 2001 00:03:56 +0000
parents 37d80035e77f
children 4836eae8dd8c
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Nov 06 23:58:24 2001 +0000
+++ b/src/protocols/yahoo/yahoo.c	Wed Nov 07 00:03:56 2001 +0000
@@ -47,7 +47,7 @@
 #include "pixmaps/status-here.xpm"
 #include "pixmaps/status-idle.xpm"
 
-#define YAHOO_DEBUG
+#undef YAHOO_DEBUG
 
 #define USEROPT_MAIL 0
 
@@ -551,7 +551,8 @@
 		l = l->next;
 	}
 
-	show_got_added(gc, id, who, NULL, msg);
+	if (id)
+		show_got_added(gc, id, who, NULL, msg);
 }
 
 static void yahoo_process_mail(struct gaim_connection *gc, struct yahoo_packet *pkt)