Fix crash in HttpSkipResponseCommand ctor

(Regression from the memory holes stuff; missed to commit :p)
This commit is contained in:
Nils Maier 2013-12-24 22:59:55 +01:00
parent c881f9fcad
commit a44c71586a

View File

@ -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)),