# HG changeset patch # User Elliott Sales de Andrade # Date 1274164595 0 # Node ID dbe96260108c6a7154ddbf1395726b31afdd0174 # Parent ccae796bdbad757a2512638e8e74f5e929df29d8 It seems like aMSN can get a bit stuck when using multiple file transfers, and the user could accept a file transfer a second time (it seems to fix itself eventually.) We don't want to try and start an xfer again or bad things might happen. diff -r ccae796bdbad -r dbe96260108c libpurple/protocols/msn/slplink.c --- a/libpurple/protocols/msn/slplink.c Mon May 17 08:45:46 2010 +0000 +++ b/libpurple/protocols/msn/slplink.c Tue May 18 06:36:35 2010 +0000 @@ -508,6 +508,9 @@ PurpleXfer *xfer; xfer = (PurpleXfer *)slpcall->xfer; + if (purple_xfer_get_status(xfer) >= PURPLE_XFER_STATUS_STARTED) + return; + purple_xfer_ref(xfer); purple_xfer_start(xfer, -1, NULL, 0); if (purple_xfer_get_status(xfer) != PURPLE_XFER_STATUS_STARTED) {