mirror of https://github.com/aria2/aria2
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.hpull/1/head
parent
1700f5c1bc
commit
bc1f1bdf35
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
||||
2008-02-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Included RecoverableException.h to fix compilation error.
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -139,6 +139,7 @@
|
|||
#define MSG_SOMETHING_MISSING_IN_TORRENT _("Missing %s in torrent metainfo.")
|
||||
#define MSG_NULL_TRACKER_RESPONSE _("Tracker returned null data.")
|
||||
#define MSG_WINSOCK_INIT_FAILD _("Windows socket library initialization failed")
|
||||
#define MSG_TIME_HAS_PASSED _("%d minute(s) has passed. Stopping application.")
|
||||
|
||||
#define EX_TIME_OUT _("Timeout.")
|
||||
#define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.")
|
||||
|
|
Loading…
Reference in New Issue