diff options
Diffstat (limited to 'src/CreateRequestCommand.cc')
| -rw-r--r-- | src/CreateRequestCommand.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CreateRequestCommand.cc b/src/CreateRequestCommand.cc index 8edb9b05..bcac77aa 100644 --- a/src/CreateRequestCommand.cc +++ b/src/CreateRequestCommand.cc @@ -46,6 +46,7 @@ #include "Option.h" #include "SleepCommand.h" #include "Logger.h" +#include "util.h" namespace aria2 { @@ -112,7 +113,8 @@ bool CreateRequestCommand::prepareForRetry(time_t wait) _requestGroup->getSegmentMan()->cancelSegment(cuid); } if(logger->debug()) { - logger->debug("CUID#%d - Reusing CreateRequestCommand", cuid); + logger->debug("CUID#%s - Reusing CreateRequestCommand", + util::itos(cuid).c_str()); } SleepCommand* scom = new SleepCommand(cuid, e, _requestGroup, this, wait); e->commands.push_back(scom); |
