summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpResponseCommand.cc')
-rw-r--r--src/HttpResponseCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc
index efe070da..f2e6db7f 100644
--- a/src/HttpResponseCommand.cc
+++ b/src/HttpResponseCommand.cc
@@ -60,7 +60,7 @@
#include "message.h"
#include "prefs.h"
#include "StringFormat.h"
-#include "HttpNullDownloadCommand.h"
+#include "HttpSkipResponseCommand.h"
namespace aria2 {
@@ -197,7 +197,7 @@ bool HttpResponseCommand::skipResponseBody
(const SharedHandle<HttpResponse>& httpResponse)
{
SharedHandle<TransferEncoding> enc(getTransferEncoding(httpResponse));
- HttpNullDownloadCommand* command = new HttpNullDownloadCommand
+ HttpSkipResponseCommand* command = new HttpSkipResponseCommand
(cuid, req, _requestGroup, httpConnection, httpResponse, e, socket);
command->setTransferDecoder(enc);