summaryrefslogtreecommitdiff
path: root/src/AbstractProxyResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-15 12:52:03 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-15 12:52:03 +0000
commitd8d159ccd86183649771b5b20ef154504540b1ab (patch)
treec32e4a8b838fced1337b406a81d56cd1f80d3712 /src/AbstractProxyResponseCommand.cc
parent6a1fe669751801b55affa0aeaff4646ac2ac6a00 (diff)
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced HttpHeader::responseStatus_ with HttpHeader::statusCode_. statusCode_ is of type int. * src/AbstractProxyResponseCommand.cc * src/FtpNegotiationCommand.cc * src/HttpHeader.cc * src/HttpHeader.h * src/HttpHeaderProcessor.cc * src/HttpResponse.cc * src/HttpResponse.h * src/HttpResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/util.cc * src/util.h * test/HttpHeaderProcessorTest.cc * test/HttpHeaderTest.cc * test/HttpResponseTest.cc * test/UtilTest.cc
Diffstat (limited to 'src/AbstractProxyResponseCommand.cc')
-rw-r--r--src/AbstractProxyResponseCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractProxyResponseCommand.cc b/src/AbstractProxyResponseCommand.cc
index c0673801..a0e65415 100644
--- a/src/AbstractProxyResponseCommand.cc
+++ b/src/AbstractProxyResponseCommand.cc
@@ -69,7 +69,7 @@ bool AbstractProxyResponseCommand::executeInternal() {
getDownloadEngine()->addCommand(this);
return false;
}
- if(httpResponse->getResponseStatus() != HttpHeader::S200) {
+ if(httpResponse->getStatusCode() != 200) {
throw DL_RETRY_EX(EX_PROXY_CONNECTION_FAILED);
}
getDownloadEngine()->addCommand(getNextCommand());