diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-08 21:38:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-09 21:39:43 +0900 |
| commit | f0bcfa822e848b7bf89ec7a16407159187283a48 (patch) | |
| tree | 9e0aa8a06789925a02675dfb8173ad4931604d9b /src/AbstractCommand.cc | |
| parent | b97a7c8ecf410daaac12346c91591d15772f3c7f (diff) | |
Use int instead of unsigned int where unsigned int is not needed.
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, |
