------------------------------------------------------------ revno: 3184 committer: poy <p...@123gen.com> branch nick: trunk timestamp: Thu 2013-01-24 01:15:36 +0100 message: send INF before GET modified: dcpp/ConnectionManager.cpp
-- lp:dcplusplus https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk Your team Dcplusplus-team is subscribed to branch lp:dcplusplus. To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/ConnectionManager.cpp' --- dcpp/ConnectionManager.cpp 2013-01-23 23:56:30 +0000 +++ dcpp/ConnectionManager.cpp 2013-01-24 00:15:36 +0000 @@ -664,6 +664,10 @@ token = aSource->getToken(); } + if(aSource->isSet(UserConnection::FLAG_INCOMING)) { + aSource->inf(false); + } + bool down = false; { Lock l(cs); @@ -689,10 +693,6 @@ aSource->setFlag(UserConnection::FLAG_UPLOAD); addUploadConnection(aSource); } - - if(aSource->isSet(UserConnection::FLAG_INCOMING)) { - aSource->inf(false); - } } void ConnectionManager::force(const UserPtr& aUser) {
_______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp