changeset 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 650ba1c84049
children ec101fb81111
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);