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/HttpSkipResponseCommand.cc | |
| parent | b97a7c8ecf410daaac12346c91591d15772f3c7f (diff) | |
Use int instead of unsigned int where unsigned int is not needed.
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
| -rw-r--r-- | src/HttpSkipResponseCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index 56d96ecc..08499240 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -189,7 +189,7 @@ bool HttpSkipResponseCommand::processResponse() { int statusCode; if(httpResponse_->isRedirect()) { - unsigned int rnum = + int rnum = httpResponse_->getHttpRequest()->getRequest()->getRedirectCount(); if(rnum >= Request::MAX_REDIRECT) { throw DL_ABORT_EX2(fmt("Too many redirects: count=%u", rnum), |
