diff options
Diffstat (limited to 'src/AbstractCommand.cc')
| -rw-r--r-- | src/AbstractCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc index 118846f1..b4777013 100644 --- a/src/AbstractCommand.cc +++ b/src/AbstractCommand.cc @@ -320,7 +320,7 @@ bool AbstractCommand::execute() { req_->addTryCount(); req_->resetRedirectCount(); req_->resetUri(); - const unsigned int maxTries = getOption()->getAsInt(PREF_MAX_TRIES); + const int maxTries = getOption()->getAsInt(PREF_MAX_TRIES); bool isAbort = maxTries != 0 && req_->getTryCount() >= maxTries; if(isAbort) { A2_LOG_INFO(fmt(MSG_MAX_TRY, |
