Mercurial > pidgin.yaz
diff src/protocols/msn/switchboard.c @ 13245:403c3a8287f7
[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 <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 12 Feb 2006 16:39:55 +0000 |
parents | 70809b5c5f86 |
children | 90d0a473e7ff |
line wrap: on
line diff
--- 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 */