Mercurial > pidgin
changeset 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 | 4560c312907a |
children | 539b7170c7df |
files | libpurple/protocols/msn/msg.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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) {