[gaim-migrate @ 15611]

Sun, 12 Feb 2006 16:39:55 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sun, 12 Feb 2006 16:39:55 +0000
changeset 13246
5f5797c0d38b
parent 13245
3c026039efc5
child 13247
2162ed1a6f41

[gaim-migrate @ 15611]
if swboard->im_user can be NULL in xfr_error() then we need to guard against
passport being NULL in swboard_error_helper() too

src/protocols/msn/switchboard.c file | annotate | diff | comparison | revisions
--- a/src/protocols/msn/switchboard.c	Sun Feb 12 16:30:57 2006 +0000
+++ b/src/protocols/msn/switchboard.c	Sun Feb 12 16:39:55 2006 +0000
@@ -340,7 +340,8 @@
 {
 	g_return_if_fail(swboard != NULL);
 
-	gaim_debug_warning("msg", "Error: Unable to call the user %s for reason %i\n", passport, reason);
+	gaim_debug_warning("msg", "Error: Unable to call the user %s for reason %i\n",
+					   passport ? passport : "(null)", reason);
 
 	/* TODO: if current_users > 0, this is probably a chat and an invite failed,
 	 * we should report that in the chat or something */

mercurial