diff options
Diffstat (limited to 'src/AbstractProxyResponseCommand.cc')
| -rw-r--r-- | src/AbstractProxyResponseCommand.cc | 2 |
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; |
