Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/switchboard.c @ 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 | d9d9283680a4 |
children | 44b4e8bd759b b77adb803eca |
comparison
equal
deleted
inserted
replaced
19646:425010370845 | 19647:33ccac7fd32b |
---|---|
769 | 769 |
770 if (msg->ack_cb != NULL) | 770 if (msg->ack_cb != NULL) |
771 msg->ack_cb(msg, msg->ack_data); | 771 msg->ack_cb(msg, msg->ack_data); |
772 | 772 |
773 swboard = cmdproc->data; | 773 swboard = cmdproc->data; |
774 swboard->ack_list = g_list_remove(swboard->ack_list, msg); | 774 if (swboard) |
775 swboard->ack_list = g_list_remove(swboard->ack_list, msg); | |
775 msn_message_unref(msg); | 776 msn_message_unref(msg); |
776 } | 777 } |
777 | 778 |
778 static void | 779 static void |
779 out_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) | 780 out_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) |