changeset 11899:0b8b7e59cb4b

[gaim-migrate @ 14190] Quiet some g_log warnings on first message received before the conversation has been created committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 30 Oct 2005 17:03:59 +0000
parents 8d019c4bf454
children 21719fc8ea2d
files plugins/signals-test.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/signals-test.c	Sun Oct 30 17:02:40 2005 +0000
+++ b/plugins/signals-test.c	Sun Oct 30 17:03:59 2005 +0000
@@ -261,7 +261,7 @@
 {
 	gaim_debug_misc("signals test", "receiving-im-msg (%s, %s, %s, %s, %d)\n",
 					gaim_account_get_username(account), *sender, *buffer,
-					gaim_conversation_get_name(conv), *flags);
+					(conv != NULL) ? gaim_conversation_get_name(conv) : "(null)", *flags);
 
 	return FALSE;
 }
@@ -272,7 +272,7 @@
 {
 	gaim_debug_misc("signals test", "received-im-msg (%s, %s, %s, %s, %d)\n",
 					gaim_account_get_username(account), sender, buffer,
-					gaim_conversation_get_name(conv), flags);
+					(conv != NULL) ? gaim_conversation_get_name(conv) : "(null)", flags);
 }
 
 static gboolean