Mercurial > pidgin
diff libpurple/protocols/msn/msg.c @ 31384:0656f6063cf2
Check for SlpMsgPart before printing it to the debug log. This would
only occur (and somewhat rarely) when verbose debug is on.
Fixes #13116.
Fixes #13284.
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Mon, 14 Mar 2011 01:04:08 +0000 |
| parents | 34da321b60f1 |
| children | 9a23c70bdb7a |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Mon Mar 14 00:36:04 2011 +0000 +++ b/libpurple/protocols/msn/msg.c Mon Mar 14 01:04:08 2011 +0000 @@ -613,7 +613,8 @@ if (msg->msnslp_message) { - msn_slpmsgpart_to_string(msg->part, str); + if (msg->part) + msn_slpmsgpart_to_string(msg->part, str); if (purple_debug_is_verbose() && body != NULL) {
