soc.2010.msn-tlc: 0f24bdb2: Use the real ack callback.

masca at cpw.pidgin.im masca at cpw.pidgin.im
Mon Jul 5 23:01:23 EDT 2010


----------------------------------------------------------------------
Revision: 0f24bdb27fe5418bd274716abb42e09de443ebcd
Parent:   c397960b11ce83ec8c1042f90070e6320809acdc
Author:   masca at cpw.pidgin.im
Date:     06/30/10 20:50:39
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/0f24bdb27fe5418bd274716abb42e09de443ebcd

Changelog: 

Use the real ack callback.

Changes against parent c397960b11ce83ec8c1042f90070e6320809acdc

  patched  libpurple/protocols/msn/switchboard.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c	b4fb470ee3d16066a22090e51aa28fec0d2a2b16
+++ libpurple/protocols/msn/switchboard.c	d491001d1e4d5d4d4e530a788449f30f7d629365
@@ -757,8 +757,8 @@ ack_cmd(MsnCmdProc *cmdproc, MsnCommand 
 
 	msg = cmd->trans->data;
 
-	if (msg->ack_cb != NULL)
-		msg->ack_cb(msg, msg->ack_data);
+	if (msg->part && msg->part->ack_cb != NULL)
+		msg->part->ack_cb(msg->part, msg->part->ack_data);
 
 	swboard = cmdproc->data;
 	if (swboard)


More information about the Commits mailing list