diff libpurple/protocols/msn/slplink.c @ 28695:ff5d8b8de895

Fix sending an MSN file transfer request.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 13 Dec 2009 09:35:23 +0000
parents 6aea98f6a5cd
children fadc4a7ae32c
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Fri Nov 20 01:18:28 2009 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sun Dec 13 09:35:23 2009 +0000
@@ -309,7 +309,7 @@
 
 	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);