diff src/protocols/msn/msn.c @ 9290:2e5faf12a24c

[gaim-migrate @ 10093] Don't try to print a NULL. Windows no likey it. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 15 Jun 2004 05:59:39 +0000
parents 7a8aa87164ae
children b3bda982996b
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Tue Jun 15 04:53:34 2004 +0000
+++ b/src/protocols/msn/msn.c	Tue Jun 15 05:59:39 2004 +0000
@@ -812,7 +812,7 @@
 	userlist = session->userlist;
 	who = msn_normalize(gc->account, buddy->name);
 
-	if (group != NULL)
+	if (group != NULL && group->name != NULL)
 		gaim_debug_info("msn", "msn_add_buddy: %s, %s\n", who, group->name);
 	else
 		gaim_debug_info("msn", "msn_add_buddy: %s\n", who);