From: Fabian Keil Date: Fri, 11 Sep 2020 12:26:03 +0000 (+0200) Subject: decompress_iob(): Make a debug message that isn't supposed to be shown less verbose X-Git-Tag: v_3_0_29~124 X-Git-Url: http://www.privoxy.org/gitweb/%40user-manual%40%40actions-help-prefix%40HIDE_IF_MODIFIED_SINCE?a=commitdiff_plain;h=ebdff638af74b74396a918cc77bb1c2bc13becff;p=privoxy.git decompress_iob(): Make a debug message that isn't supposed to be shown less verbose Previously a bunch of details where included with incorrect format specifiers. In practice the message isn't shown so it should probably be replaced with an assertion. --- diff --git a/parsers.c b/parsers.c index 896299a8..4306fdb9 100644 --- a/parsers.c +++ b/parsers.c @@ -838,10 +838,7 @@ jb_err decompress_iob(struct client_state *csp) else { /* It seems that zlib did something weird. */ - log_error(LOG_LEVEL_ERROR, - "Unexpected error decompressing the buffer (iob): %d==%d, %d>%d, %d<%d", - csp->iob->cur, csp->iob->buf + skip_size, csp->iob->eod, csp->iob->buf, - csp->iob->eod, csp->iob->buf + csp->iob->size); + log_error(LOG_LEVEL_ERROR, "Inconsistent buffer after decompression"); return JB_ERR_COMPRESS; }