Revision: 952
http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=952&view=rev
Author: arnetheduck
Date: 2007-12-28 05:17:28 -0800 (Fri, 28 Dec 2007)
Log Message:
-----------
sfv fix
Modified Paths:
--------------
dcplusplus/trunk/dcpp/DownloadManager.cpp
Modified: dcplusplus/trunk/dcpp/DownloadManager.cpp
===================================================================
--- dcplusplus/trunk/dcpp/DownloadManager.cpp 2007-12-23 22:35:08 UTC (rev 951)
+++ dcplusplus/trunk/dcpp/DownloadManager.cpp 2007-12-28 13:17:28 UTC (rev 952)
@@ -372,11 +372,13 @@
dcdebug("Download finished: %s, size " I64_FMT ", downloaded " I64_FMT "\n", d->getPath().c_str(), d->getSize(), d->getPos());
+#if PORT_ME
+ // This should be done when the file is done, not the chunk...
if(BOOLSETTING(SFV_CHECK) && d->getType() == Transfer::TYPE_FILE) {
if(!checkSfv(aSource, d))
return;
}
-
+#endif
if(BOOLSETTING(LOG_DOWNLOADS) && (BOOLSETTING(LOG_FILELIST_TRANSFERS) || d->getType() == Transfer::TYPE_FILE)) {
logDownload(aSource, d);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|