summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-03 14:24:37 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-03 14:24:37 +0000
commit453e2f10dddf3b158de39810c1130203fd8d67eb (patch)
treeccf06455843aa4fac0d54495de3fb87c254b28cd /src/message.h
parentccdd5b31a3dfa07cd13d6f7f0f5eaa3d8ff8a61e (diff)
2007-06-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
RequestGroup::getNextCommand() was renamed to createNextCommand(). Added its overloaded method. * src/RequestGroup.h (_numConcurrentCommand): New variable. (setNumConcurrentCommand): New function. * src/RequestGroup.cc Abort download if same file is being downloaded concurrently. * src/RequestGroup.h, src/RequestGroupMan.cc (isSameFileBeingDownloaded): New function. * src/HttpResponseCommand.cc (executeInternal) * src/FtpNegotiateCommand.cc (recvSize) * src/message.h (EX_DUPLICATE_FILE_DOWNLOAD): New definition. * main.cc: Added help message for -i option.
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index e45de293..61b381ad 100644
--- a/src/message.h
+++ b/src/message.h
@@ -121,4 +121,5 @@
#define EX_INVALID_BT_MESSAGE_ID _("Invalid ID=%d for %s. It should be %d.")
#define EX_INVALID_CHUNK_CHECKSUM _("Chunk checksum validation failed. checksumIndex=%d, offset=%lld, expectedHash=%s, actualHash=%s")
#define EX_DOWNLOAD_ABORTED _("Download aborted.")
+#define EX_DUPLICATE_FILE_DOWNLOAD _("File %s is being downloaded by other command.")
#endif // _D_MESSAGE_H_