# HG changeset patch # User Stu Tomlinson # Date 1139762395 0 # Node ID 5f5797c0d38bed336e2ca974813df3fcc8444129 # Parent 3c026039efc561093f7160a7f76a7c6d8224381d [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 diff -r 3c026039efc5 -r 5f5797c0d38b 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 */