changeset 31832:4560c312907a

Clear out transaction data, just in case the server does weird things and ACK/NAK's twice. Fixes #13283.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Mar 2011 00:36:04 +0000
parents 7b021b6a09af
children 0656f6063cf2
files libpurple/protocols/msn/switchboard.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Mon Mar 14 00:28:35 2011 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Mon Mar 14 00:36:04 2011 +0000
@@ -726,6 +726,7 @@
 	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 @@
 	if (swboard)
 		swboard->ack_list = g_list_remove(swboard->ack_list, msg);
 	msn_message_unref(msg);
+	cmd->trans->data = NULL;
 }
 
 static void