changeset 12976:0a5b48576913

[gaim-migrate @ 15329] This should fix a crash Bleeter pasted earlier in #gaim committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 21 Jan 2006 01:59:07 +0000
parents e0c9d63ad4a0
children 36930e2a461e
files src/gtkaccount.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Sat Jan 21 01:58:13 2006 +0000
+++ b/src/gtkaccount.c	Sat Jan 21 01:59:07 2006 +0000
@@ -2578,7 +2578,7 @@
 make_info(GaimAccount *account, GaimConnection *gc, const char *remote_user,
           const char *id, const char *alias, const char *msg)
 {
-	if (*msg == '\0')
+	if (msg != NULL && *msg == '\0')
 		msg = NULL;
 
 	return g_strdup_printf(_("%s%s%s%s has made %s his or her buddy%s%s"),