summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2013-12-24 22:59:55 +0100
committerNils Maier <maierman@web.de>2013-12-24 23:14:26 +0100
commita44c71586a42a2521dc9a0c6bd36f7aebe773c7c (patch)
tree2c3a259038fb46536b2614bf4e9fe0c81850d7d2 /src/HttpSkipResponseCommand.cc
parentc881f9fcad7980738f8c61ad7910c1d3fc43bfb3 (diff)
Fix crash in HttpSkipResponseCommand ctor
(Regression from the memory holes stuff; missed to commit :p)
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
-rw-r--r--src/HttpSkipResponseCommand.cc2
1 files changed, 1 insertions, 1 deletions
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)),