linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01080
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2144: Correct ADC hub counts
------------------------------------------------------------
revno: 2144
author: eMTee <emtee11@xxxxxxxxx>
committer: poy <poy@xxxxxxxxxx>
branch nick: repo
timestamp: Mon 2010-05-10 19:23:07 +0200
message:
Correct ADC hub counts
modified:
changelog.txt
dcpp/AdcHub.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 'changelog.txt'
--- changelog.txt 2010-05-10 17:13:53 +0000
+++ changelog.txt 2010-05-10 17:23:07 +0000
@@ -18,6 +18,7 @@
* [L#551184] Fix unnecessary move of downloaded filelists (emtee)
* [L#556853] Fix sharing a whole drive (root folder) was impossible in random cases (emtee)
* [L#559544] Don't clear multiline boxes with Ctrl+Alt+A (poy)
+* [L#545264] Correct ADC hub counts (emtee)
-- 0.761 2010-03-14 --
* [L#533840] Fix crashes with themed menus (poy)
=== modified file 'dcpp/AdcHub.cpp'
--- dcpp/AdcHub.cpp 2010-04-09 15:43:20 +0000
+++ dcpp/AdcHub.cpp 2010-05-10 17:23:07 +0000
@@ -789,7 +789,9 @@
AdcCommand c(AdcCommand::CMD_INF, AdcCommand::TYPE_BROADCAST);
- updateCounts(false);
+ if (state == STATE_NORMAL) {
+ updateCounts(false);
+ }
addParam(lastInfoMap, c, "ID", ClientManager::getInstance()->getMyCID().toBase32());
addParam(lastInfoMap, c, "PD", ClientManager::getInstance()->getMyPID().toBase32());