cpw.darkrain42.msn.ft: 1d05e8a9: Fix sending an MSN file transfer request...

qulogic at pidgin.im qulogic at pidgin.im
Mon Dec 14 02:27:12 EST 2009


-----------------------------------------------------------------
Revision: 1d05e8a9b4efc830ebc22cbcfb5cf85086f10927
Ancestor: 24c9cde2417d13313b1fef09b9526d09a8e1aa7f
Author: qulogic at pidgin.im
Date: 2009-12-13T09:35:23
Branch: im.pidgin.cpw.darkrain42.msn.ft
URL: http://d.pidgin.im/viewmtn/revision/info/1d05e8a9b4efc830ebc22cbcfb5cf85086f10927

Modified files:
        libpurple/protocols/msn/slplink.c

ChangeLog: 

Fix sending an MSN file transfer request.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	44b00028bc4010233d02aa8f77f242582435fdde
+++ libpurple/protocols/msn/slplink.c	06ae2ca79fb1f12770adcccdd43e56868f18f1d3
@@ -309,7 +309,7 @@ msg_ack(MsnMessage *msg, void *data)
 
 	if (slpmsg->offset < real_size)
 	{
-		if (slpmsg->slpcall->xfer)
+		if (slpmsg->slpcall->xfer && purple_xfer_get_status(slpmsg->slpcall->xfer) == PURPLE_XFER_STATUS_STARTED)
 		{
 			slpmsg->slpcall->xfer_msg = slpmsg;
 			purple_xfer_prpl_ready(slpmsg->slpcall->xfer);


More information about the Commits mailing list