summaryrefslogtreecommitdiff
path: root/src/AbstractProxyResponseCommand.cc
diff options
context:
space:
mode:
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 e27ff382..e7a620be 100644
--- a/src/AbstractProxyResponseCommand.cc
+++ b/src/AbstractProxyResponseCommand.cc
@@ -65,7 +65,7 @@ bool AbstractProxyResponseCommand::executeInternal() {
e->commands.push_back(this);
return false;
}
- if(httpResponse->getStatus() != 200) {
+ if(httpResponse->getResponseStatus() != "200") {
throw new DlRetryEx(EX_PROXY_CONNECTION_FAILED);
}
e->commands.push_back(getNextCommand());