Explorar o código

Fix crash in HttpSkipResponseCommand ctor

(Regression from the memory holes stuff; missed to commit :p)
Nils Maier %!s(int64=11) %!d(string=hai) anos
pai
achega
a44c71586a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/HttpSkipResponseCommand.cc

+ 1 - 1
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)),