From 060e479a190899c5b165604e60366056cb865587 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 13 Jan 2026 14:01:38 +0100 Subject: [PATCH] imap: check `imap_sendf()` printf masks at compile-time Closes #20287 --- lib/imap.c | 3 +++ 1 file changed, 3 insertions(+) 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, ...)