pidgin: af5a118c: Oops, don't break things for successfull...

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


-----------------------------------------------------------------
Revision: af5a118cb5194885a7b511864cb5dc3183648d07
Ancestor: 4be88f8a6febfd367e45f472719ed7a5c44b33ff
Author: qulogic at pidgin.im
Date: 2009-12-14T06:10:28
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/af5a118cb5194885a7b511864cb5dc3183648d07

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

ChangeLog: 

Oops, don't break things for successfully receiving of a file.

Refs #6523.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	a5a683ac913b1dfc020e486161f2a1732b485735
+++ libpurple/protocols/msn/slplink.c	63df86157e7562765317ad7d941bfe91675444c6
@@ -648,11 +648,12 @@ msn_slplink_process_msg(MsnSlpLink *slpl
 				msn_slplink_send_queued_slpmsgs(slplink);
 			}
 
-		} else {
-			msn_slpcall_destroy(slpcall);
 		}
 
 		msn_slpmsg_destroy(slpmsg);
+
+		if (slpcall->wasted)
+			msn_slpcall_destroy(slpcall);
 	}
 }
 


More information about the Commits mailing list