diff options
Diffstat (limited to 'src/AbstractProxyResponseCommand.cc')
| -rw-r--r-- | src/AbstractProxyResponseCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AbstractProxyResponseCommand.cc b/src/AbstractProxyResponseCommand.cc index b5e40cbe..e04dcc1d 100644 --- a/src/AbstractProxyResponseCommand.cc +++ b/src/AbstractProxyResponseCommand.cc @@ -51,7 +51,7 @@ namespace aria2 { AbstractProxyResponseCommand::AbstractProxyResponseCommand (int cuid, - const RequestHandle& req, + const SharedHandle<Request>& req, const SharedHandle<FileEntry>& fileEntry, RequestGroup* requestGroup, const HttpConnectionHandle& httpConnection, @@ -63,7 +63,7 @@ AbstractProxyResponseCommand::AbstractProxyResponseCommand AbstractProxyResponseCommand::~AbstractProxyResponseCommand() {} bool AbstractProxyResponseCommand::executeInternal() { - HttpResponseHandle httpResponse = httpConnection->receiveResponse(); + SharedHandle<HttpResponse> httpResponse = httpConnection->receiveResponse(); if(httpResponse.isNull()) { // the server has not responded our request yet. e->commands.push_back(this); |
