Mercurial > pidgin.yaz
changeset 19647:33ccac7fd32b
Deal better with receiving a msn ACK when there is no switchboard connected. Fixes #2640.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 04 Sep 2007 21:55:59 +0000 |
parents | 425010370845 |
children | 450f4a3c4c0f b77adb803eca |
files | libpurple/protocols/msn/switchboard.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Tue Sep 04 21:00:24 2007 +0000 +++ b/libpurple/protocols/msn/switchboard.c Tue Sep 04 21:55:59 2007 +0000 @@ -771,7 +771,8 @@ msg->ack_cb(msg, msg->ack_data); swboard = cmdproc->data; - swboard->ack_list = g_list_remove(swboard->ack_list, msg); + if (swboard) + swboard->ack_list = g_list_remove(swboard->ack_list, msg); msn_message_unref(msg); }