diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-10-29 12:43:45 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-10-29 12:43:45 +0000 |
| commit | 8b27671e58d6c071fb231d4ad8ddecb28255f86e (patch) | |
| tree | c28d0a378d4bf823919d012bfe0e3c97916ef149 /src/StreamCheckIntegrityEntry.cc | |
| parent | eecd51bcb58e1263a1b75722eb0d4a7780d02124 (diff) | |
2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Use File::renameTo()
* src/DefaultBtProgressInfoFile.cc
Added --no-file-allocation-limit command-line option.
* src/version_usage.cc
* src/option_processing.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.{h, cc}
* src/BtCheckIntegrityEntry.cc
* src/StreamCheckIntegrityEntry.cc
* src/prefs.h
* doc/aria2c.1.txt
* doc/aria2c.1
Now prealloc is the default value for --file-allocation option.
* src/version_usage.cc
* src/option_processing.cc
* doc/aria2c.1.txt
* doc/aria2c.1
Don't URL-encode user-agent.
* src/HttpRequest.cc
Updated translations
* po/LINGUAS: Added nl for Dutch translation.
* po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
* po/de.po: Updated German translation, thanks to Patrick
Ruckstuhl.
* po/POTFILES.in: Updated.
Diffstat (limited to 'src/StreamCheckIntegrityEntry.cc')
| -rw-r--r-- | src/StreamCheckIntegrityEntry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StreamCheckIntegrityEntry.cc b/src/StreamCheckIntegrityEntry.cc index f2e607ce..5ebb535c 100644 --- a/src/StreamCheckIntegrityEntry.cc +++ b/src/StreamCheckIntegrityEntry.cc @@ -54,7 +54,7 @@ StreamCheckIntegrityEntry::~StreamCheckIntegrityEntry() {} Commands StreamCheckIntegrityEntry::prepareForNextAction(DownloadEngine* e) { Commands commands; - if(_requestGroup->isFileAllocationEnabled() && !_requestGroup->getPieceStorage()->getDiskAdaptor()->fileAllocationIterator()->finished()) { + if(_requestGroup->needsFileAllocation()) { FileAllocationEntryHandle entry = new StreamFileAllocationEntry(_currentRequest, _requestGroup, popNextCommand()); |
