From: Viktor Szakats Date: Tue, 13 Jan 2026 13:01:38 +0000 (+0100) Subject: imap: check `imap_sendf()` printf masks at compile-time X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060e479a190899c5b165604e60366056cb865587;p=thirdparty%2Fcurl.git imap: check `imap_sendf()` printf masks at compile-time Closes #20287 --- diff --git a/lib/imap.c b/lib/imap.c index 76b78a12a8..7027c8ef05 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -154,6 +154,9 @@ struct ulbits { * * Designed to never block. */ +static CURLcode imap_sendf(struct Curl_easy *data, + struct imap_conn *imapc, + const char *fmt, ...) CURL_PRINTF(3, 0); static CURLcode imap_sendf(struct Curl_easy *data, struct imap_conn *imapc, const char *fmt, ...)