Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/auth_digest_md5.c @ 31449:1c660ba17ba1
propagate from branch 'im.pidgin.pidgin' (head 6f879669a6513a5c40335bbaefe842389a92b39e)
to branch 'im.pidgin.cpw.qulogic.cairo' (head 4ab0199887f74442673fd46dcbb662bc7f070bc4)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 21 Nov 2010 20:30:12 +0000 |
parents | 943fce8ef142 |
children | e743507b3767 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth_digest_md5.c Sat Aug 21 06:04:13 2010 +0000 +++ b/libpurple/protocols/jabber/auth_digest_md5.c Sun Nov 21 20:30:12 2010 +0000 @@ -182,7 +182,9 @@ dec_in = (char *)purple_base64_decode(enc_in, NULL); purple_debug_misc("jabber", "decoded challenge (%" - G_GSIZE_FORMAT "): %s\n", strlen(dec_in), dec_in); + G_GSIZE_FORMAT "): %s\n", + dec_in != NULL ? strlen(dec_in) : 0, + dec_in != NULL ? dec_in : "(null)"); parts = parse_challenge(dec_in);