# HG changeset patch # User Evan Schoenberg # Date 1139761697 0 # Node ID 70809b5c5f86f5f5d6bc6bc3d52c3b19858a6770 # Parent cdd107258f1128f6bfb7a02747f543a58044f563 [gaim-migrate @ 15609] This debug log crashed because it a %s was passed NULL. The source of such malformedness should be fixed, but making the log not crash means we can see what's happening. committer: Tailor Script diff -r cdd107258f11 -r 70809b5c5f86 src/protocols/msn/switchboard.c --- a/src/protocols/msn/switchboard.c Sun Feb 12 16:25:54 2006 +0000 +++ b/src/protocols/msn/switchboard.c Sun Feb 12 16:28:17 2006 +0000 @@ -1138,7 +1138,8 @@ swboard = trans->data; gaim_debug_info("msn", "xfr_error %i for %s: trans %x, command %s, reason %i\n", - error, swboard->im_user, trans, trans->command, reason); + error, (swboard->im_user ? swboard->im_user : "(null)"), trans, + (trans->command ? trans->command : "(null)"), reason); swboard_error_helper(swboard, reason, swboard->im_user); }