From ebdff638af74b74396a918cc77bb1c2bc13becff Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 14:26:03 +0200 Subject: [PATCH] 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. --- parsers.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; } -- 2.39.2