summaryrefslogtreecommitdiff
path: root/src/TimedHaltCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-12 13:45:54 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-12 13:45:54 +0000
commitbc1f1bdf359ec9f5032f8e9a5d2049dfb1cb112d (patch)
tree7f41934ef219c87f375e93b4d3b0db1b19aa1a8a /src/TimedHaltCommand.cc
parent1700f5c1bccd82af91f2095aa06922fdefeaa7f0 (diff)
2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed typo in log message and define the message in message.h * src/TimedHaltCommand.cc * src/message.h
Diffstat (limited to 'src/TimedHaltCommand.cc')
-rw-r--r--src/TimedHaltCommand.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TimedHaltCommand.cc b/src/TimedHaltCommand.cc
index e29ceee6..54db6cfe 100644
--- a/src/TimedHaltCommand.cc
+++ b/src/TimedHaltCommand.cc
@@ -36,6 +36,7 @@
#include "DownloadEngine.h"
#include "RequestGroupMan.h"
#include "Logger.h"
+#include "message.h"
namespace aria2 {
@@ -55,7 +56,7 @@ void TimedHaltCommand::preProcess()
void TimedHaltCommand::process()
{
if(!_e->isHaltRequested()) {
- logger->notice("%d minutes passed. Stopping application.", _interval/60);
+ logger->notice(MSG_TIME_HAS_PASSED, _interval/60);
_e->requestHalt();
}
}