Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slplink.c @ 30488:dbe96260108c
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.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 18 May 2010 06:36:35 +0000 |
parents | 4463cd2aba2d |
children | 11e748b759a2 |
line wrap: on
line diff
--- 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) {