summaryrefslogtreecommitdiff
path: root/src/DefaultBtProgressInfoFile.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-05 10:10:15 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-05-05 10:10:15 +0000
commit874714609fa53299c454d8b3c23f30816ca14ba0 (patch)
tree4391ae82d0a18ef89bc1912b3e387da6d9972062 /src/DefaultBtProgressInfoFile.h
parent6952eef7b673bdf2c8650438940323bd9bc5c862 (diff)
2008-05-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that the control file(.aria2 file) is not renamed according to tryAutoFileRenaming(). tryAutoFileRenaming() was rewritten so that if both renamed file and its control file exist, use them and continue download. The old implementation didn't take into account of control file's existence, so basically you couldn't continue download of renamed file. * src/BtProgressInfoFile.h * src/DefaultBtProgressInfoFile.cc * src/DefaultBtProgressInfoFile.h * src/NullProgressInfoFile.h * src/RequestGroup.cc * test/DefaultBtProgressInfoFileTest.cc * test/MockBtProgressInfoFile.h
Diffstat (limited to 'src/DefaultBtProgressInfoFile.h')
-rw-r--r--src/DefaultBtProgressInfoFile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DefaultBtProgressInfoFile.h b/src/DefaultBtProgressInfoFile.h
index be7566e3..c7ab556c 100644
--- a/src/DefaultBtProgressInfoFile.h
+++ b/src/DefaultBtProgressInfoFile.h
@@ -71,6 +71,9 @@ public:
virtual void removeFile();
+ // re-set filename using current _dctx.
+ virtual void updateFilename();
+
};
} // namespace aria2