summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-23 14:45:25 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-23 14:45:25 +0000
commit3a3511ee28ed5a3e8c7d5f735c4af3949cbdd209 (patch)
tree3e59368f96fb697c5762b9a70f4df02acc29ec6a /src/message.h
parent66660d10c2fec52b26bbe91bb09083c355600c79 (diff)
2010-06-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Run whole checksum check when download file name and size are determined and download is already completed. Related to r2221. Guarded ENABLE_MESSAGE_DIGEST where necessary. * src/AbstractCommand.cc * src/RequestGroup.cc * src/message.h
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index 325b8c0d..3b11dbeb 100644
--- a/src/message.h
+++ b/src/message.h
@@ -188,6 +188,8 @@
#define MSG_METADATA_NOT_SAVED _("Saving metadata as %s failed. Maybe file" \
" already exists.")
#define MSG_DIR_TRAVERSAL_DETECTED _("Detected directory traversal directive in %s")
+#define MSG_HASH_CHECK_NOT_DONE \
+ "File has already been downloaded but hash check has not been done yet."
#define EX_TIME_OUT _("Timeout.")
#define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.")