Prechádzať zdrojové kódy

Fix crash in HttpSkipResponseCommand ctor

(Regression from the memory holes stuff; missed to commit :p)
Nils Maier 11 rokov pred
rodič
commit
a44c71586a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)),