← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2787: Fix rechecker

 

------------------------------------------------------------
revno: 2787
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Mon 2012-01-02 11:59:22 +0100
message:
  Fix rechecker
modified:
  dcpp/QueueManager.cpp
  help/settings_advanced.html


--
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/QueueManager.cpp'
--- dcpp/QueueManager.cpp	2012-01-01 20:05:49 +0000
+++ dcpp/QueueManager.cpp	2012-01-02 10:59:22 +0000
@@ -435,7 +435,7 @@
 		size_t pos = 0;
 		boost::for_each(tt.getLeaves(), ttFile.getLeaves(), [&](const TTHValue& our, const TTHValue& file) {
 			if(our == file) {
-				q->addSegment(Segment(pos, pos + tt.getBlockSize()));
+				q->addSegment(Segment(pos, tt.getBlockSize()));
 			}
 
 			pos += tt.getBlockSize();

=== modified file 'help/settings_advanced.html'
--- help/settings_advanced.html	2010-01-19 23:27:03 +0000
+++ help/settings_advanced.html	2012-01-02 10:59:22 +0000
@@ -118,9 +118,6 @@
 </dd>
   <dt id="segmented">Enable segmented downloads</dt>
   <dd cshelp="IDH_SETTINGS_ADVANCED_SEGMENTED_DL">With this option enabled, DC++ uses segmented downloading. i.e. it downloads each file in many parts simultaneously from all available sources.</dd>
-  <dt>Use fast hashing method (disable if you have problems with hashing)</dt>
-  <dd cshelp="IDH_SETTINGS_ADVANCED_FAST_HASH">When enabled, it will make DC++ use a newer, different disk reading strategy for hashing files. This should be potentially more compatible with some disk devices. 
-</dd>
 </dl>
 </body>
 </html>