pidgin: 3c015a7d: Clear out transaction data, just in case...
qulogic at pidgin.im
qulogic at pidgin.im
Mon Mar 14 00:37:50 EDT 2011
----------------------------------------------------------------------
Revision: 3c015a7d90d1c18ed418475ac5ed47d189f7bfe5
Parent: 8dddccddfcea9672daf98feaf43ac814f322448b
Author: qulogic at pidgin.im
Date: 03/13/11 20:36:04
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3c015a7d90d1c18ed418475ac5ed47d189f7bfe5
Changelog:
Clear out transaction data, just in case the server does weird things
and ACK/NAK's twice.
Fixes #13283.
Changes against parent 8dddccddfcea9672daf98feaf43ac814f322448b
patched libpurple/protocols/msn/switchboard.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c 16d761ce9ea53765037407110e91f2bf5ee0f559
+++ libpurple/protocols/msn/switchboard.c 2cd7f767716033345057d934c630c04e093c16cb
@@ -726,6 +726,7 @@ nak_cmd(MsnCmdProc *cmdproc, MsnCommand
g_return_if_fail(msg != NULL);
msg_error_helper(cmdproc, msg, MSN_MSG_ERROR_NAK);
+ cmd->trans->data = NULL;
}
static void
@@ -743,6 +744,7 @@ ack_cmd(MsnCmdProc *cmdproc, MsnCommand
if (swboard)
swboard->ack_list = g_list_remove(swboard->ack_list, msg);
msn_message_unref(msg);
+ cmd->trans->data = NULL;
}
static void
More information about the Commits
mailing list