From: Automatic source maintenance Date: Tue, 6 Oct 2009 00:12:45 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_2_0_1~661 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c9605c5cd4b1b4aedbb66604698c737559a5def;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/Server.cc b/src/Server.cc index 0f132656a7..5f00e52295 100644 --- a/src/Server.cc +++ b/src/Server.cc @@ -833,7 +833,7 @@ ServerStateData::storeReplyBody(const char *data, ssize_t len) } size_t ServerStateData::replyBodySpace(const MemBuf &readBuf, - const size_t minSpace) const + const size_t minSpace) const { size_t space = readBuf.spaceSize(); // available space w/o heroic measures if (space < minSpace) { diff --git a/src/http.cc b/src/http.cc index 08b2941cd1..209968217c 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1351,7 +1351,7 @@ void HttpStateData::maybeReadVirginBody() { // we may need to grow the buffer if headers do not fit - const int minRead = flags.headers_parsed ? 0 : 1024; + const int minRead = flags.headers_parsed ? 0 :1024; const int read_sz = replyBodySpace(*readBuf, minRead); debugs(11,9, HERE << (flags.do_next_read ? "may" : "wont") <<