From ce8d72bae4b5d616bb6fff39a87a517ae412db62 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 22 Jan 2012 16:35:07 +0100 Subject: [PATCH] Add formatcheckers to IAPrintf --- citadel/modules/imap/imap_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/modules/imap/imap_tools.h b/citadel/modules/imap/imap_tools.h index e5b785088..099d9c39b 100644 --- a/citadel/modules/imap/imap_tools.h +++ b/citadel/modules/imap/imap_tools.h @@ -35,7 +35,7 @@ int imap_datecmp(const char *datestr, time_t msgtime); /* Imap Append Printf, send to the outbuffer */ -void IAPrintf(const char *Format, ...); +void IAPrintf(const char *Format, ...) __attribute__((__format__(__printf__,1,2))); void iaputs(const char *Str, long Len); #define IAPuts(Msg) iaputs(HKEY(Msg)) -- 2.30.2