# HG changeset patch # User Stu Tomlinson # Date 1139762395 0 # Node ID 403c3a8287f7e1c6442516b4a4f0a80c15deee9b # Parent c97c76d9d34792884f8a4284f94b681f7105be61 [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 committer: Tailor Script diff -r c97c76d9d347 -r 403c3a8287f7 src/protocols/msn/switchboard.c --- 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 */