linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04693
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2651: remove useless (set but never used) tigrOk variable in ConnectionManager::on(AdcCommand::SUP
------------------------------------------------------------
revno: 2651
committer: cologic <ne5@xxxxxxxxxxx>
branch nick: dcplusplus
timestamp: Tue 2011-10-25 02:50:09 -0400
message:
remove useless (set but never used) tigrOk variable in ConnectionManager::on(AdcCommand::SUP
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 2011-10-22 16:41:13 +0000
+++ dcpp/ConnectionManager.cpp 2011-10-25 06:50:09 +0000
@@ -361,17 +361,12 @@
}
bool baseOk = false;
- bool tigrOk = false;
for(StringIterC i = cmd.getParameters().begin(); i != cmd.getParameters().end(); ++i) {
if(i->compare(0, 2, "AD") == 0) {
string feat = i->substr(2);
if(feat == UserConnection::FEATURE_ADC_BASE || feat == UserConnection::FEATURE_ADC_BAS0) {
baseOk = true;
- // For bas0 tiger is implicit
- if(feat == UserConnection::FEATURE_ADC_BAS0) {
- tigrOk = true;
- }
// ADC clients must support all these...
aSource->setFlag(UserConnection::FLAG_SUPPORTS_ADCGET);
aSource->setFlag(UserConnection::FLAG_SUPPORTS_MINISLOTS);
@@ -383,8 +378,6 @@
aSource->setFlag(UserConnection::FLAG_SUPPORTS_ZLIB_GET);
} else if(feat == UserConnection::FEATURE_ADC_BZIP) {
aSource->setFlag(UserConnection::FLAG_SUPPORTS_XML_BZLIST);
- } else if(feat == UserConnection::FEATURE_ADC_TIGR) {
- tigrOk = true;
}
}
}