# HG changeset patch # User Daniel Atallah # Date 1188942959 0 # Node ID 33ccac7fd32b4e47a0facba025ac3da242d8836c # Parent 425010370845b149612d15b95fc5fba73433704a Deal better with receiving a msn ACK when there is no switchboard connected. Fixes #2640. diff -r 425010370845 -r 33ccac7fd32b libpurple/protocols/msn/switchboard.c --- 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); }