From: Amos Jeffries Date: Mon, 19 May 2014 06:06:36 +0000 (-0700) Subject: Cleanup: SBuf report how many bytes consume()d X-Git-Tag: SQUID_3_5_0_1~230 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f42a78a790583d1a863c529fd86ecf4b79671355;p=thirdparty%2Fsquid.git Cleanup: SBuf report how many bytes consume()d --- diff --git a/src/SBuf.cc b/src/SBuf.cc index 5755f990ba..dae2aa4431 100644 --- a/src/SBuf.cc +++ b/src/SBuf.cc @@ -498,6 +498,7 @@ SBuf::consume(size_type n) n = length(); else n = min(n, length()); + debugs(24, 8, "consume " << n); SBuf rv(substr(0, n)); chop(n); return rv;