linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07577
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3361: Fix NMDC TTH search responses
------------------------------------------------------------
revno: 3361
fixes bug: https://launchpad.net/bugs/1249810
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Sun 2013-11-10 20:24:06 +0100
message:
Fix NMDC TTH search responses
modified:
changelog.txt
dcpp/ShareManager.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 2013-11-01 18:38:32 +0000
+++ changelog.txt 2013-11-10 19:24:06 +0000
@@ -1,3 +1,4 @@
+* [L#1249810] Fix NMDC TTH search responses (emtee)
* [ADC] Don't disconnect CCPM conns after 3 minutes of inactivity (poy)
* [L#1115765] Added ability to filter out files and directories from the share (ullner)
=== modified file 'dcpp/ShareManager.cpp'
--- dcpp/ShareManager.cpp 2013-11-01 18:38:32 +0000
+++ dcpp/ShareManager.cpp 2013-11-10 19:24:06 +0000
@@ -1127,7 +1127,7 @@
ShareManager::SearchQuery::SearchQuery(const string& nmdcString, int searchType, int64_t size, int fileType) :
SearchQuery()
{
- if(searchType == SearchManager::TYPE_TTH && nmdcString.compare(0, 4, "TTH:") == 0) {
+ if(fileType == SearchManager::TYPE_TTH && nmdcString.compare(0, 4, "TTH:") == 0) {
root = TTHValue(nmdcString.substr(4));
} else {