From a44c71586a42a2521dc9a0c6bd36f7aebe773c7c Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 24 Dec 2013 22:59:55 +0100 Subject: [PATCH] Fix crash in HttpSkipResponseCommand ctor (Regression from the memory holes stuff; missed to commit :p) --- src/HttpSkipResponseCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index dd35c49a..dde369bd 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -75,7 +75,7 @@ HttpSkipResponseCommand::HttpSkipResponseCommand : AbstractCommand(cuid, req, fileEntry, requestGroup, e, s, httpConnection->getSocketRecvBuffer()), sinkFilterOnly_(true), - totalLength_(httpResponse_->getEntityLength()), + totalLength_(httpResponse->getEntityLength()), receivedBytes_(0), httpConnection_(httpConnection), httpResponse_(std::move(httpResponse)),