Fix CID 1491198: wrong printf argument type.
authorwwp <subscript@free.fr>
Mon, 4 Oct 2021 08:12:36 +0000 (10:12 +0200)
committerwwp <subscript@free.fr>
Mon, 4 Oct 2021 08:12:36 +0000 (10:12 +0200)
src/plugins/spamassassin/libspamc.c

index 5f9836b9af95e55dc378c47beb327ed65c97d64a..47b8c0c2cdfd5f92700425424fee575eca63ccfc 100644 (file)
@@ -919,7 +919,7 @@ _spamc_read_full_line(struct message *m, int flags, SSL * ssl, int sock,
        }
     }
 
-    libspamc_log(flags, LOG_ERR, "spamd responded with line of %d bytes, dying", len);
+    libspamc_log(flags, LOG_ERR, "spamd responded with line of %lu bytes, dying", len);
     failureval = EX_TOOBIG;
 
   failure: