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 8df05995..230dec8a 100644
--- a/src/AbstractProxyResponseCommand.cc
+++ b/src/AbstractProxyResponseCommand.cc
@@ -68,7 +68,7 @@ AbstractProxyResponseCommand::~AbstractProxyResponseCommand() {}
bool AbstractProxyResponseCommand::executeInternal() {
SharedHandle<HttpResponse> httpResponse = httpConnection_->receiveResponse();
- if(httpResponse.isNull()) {
+ if(!httpResponse) {
// the server has not responded our request yet.
getDownloadEngine()->addCommand(this);
return false;