mirror of https://github.com/aria2/aria2
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Defined "[MEMORY]" as static const std::string. * src/MemoryBufferPreDownloadHandler.cc (execute)pull/1/head
parent
013bf02662
commit
f26d64ce49
|
@ -1,3 +1,8 @@
|
|||
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Defined "[MEMORY]" as static const std::string.
|
||||
* src/MemoryBufferPreDownloadHandler.cc (execute)
|
||||
|
||||
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Defined control file's version number as static const std::string.
|
||||
|
|
|
@ -50,7 +50,8 @@ void MemoryBufferPreDownloadHandler::execute(RequestGroup* requestGroup)
|
|||
requestGroup->setFileAllocationEnabled(false);
|
||||
requestGroup->setPreLocalFileCheckEnabled(false);
|
||||
|
||||
requestGroup->getDownloadContext()->setDir("[MEMORY]");
|
||||
static const std::string DIR_MEMORY("[MEMORY]");
|
||||
requestGroup->getDownloadContext()->setDir(DIR_MEMORY);
|
||||
}
|
||||
|
||||
} // namespace aria2
|
||||
|
|
Loading…
Reference in New Issue