decompress_iob(): Fix format specifier in a log message
authorFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 12:08:16 +0000 (14:08 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000 (16:35 +0200)
parsers.c

index 7418a60..a16487a 100644 (file)
--- a/parsers.c
+++ b/parsers.c
@@ -526,7 +526,7 @@ jb_err decompress_iob(struct client_state *csp)
        * but it should(?) be valid for deflated data also.
        */
       log_error(LOG_LEVEL_ERROR,
-         "Insufficient data to start decompression. Bytes in buffer: %d",
+         "Insufficient data to start decompression. Bytes in buffer: %ld",
          csp->iob->eod - csp->iob->cur);
       return JB_ERR_COMPRESS;
    }