]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Add missing ATTR_FORMAT to mail_set_mail_cache_corrupted()
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 12 May 2017 08:13:09 +0000 (11:13 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 15 May 2017 12:14:14 +0000 (15:14 +0300)
src/lib-storage/mail-storage-private.h

index 19870c4f52b6a1efa3c432a9402da00e6abe6234..e0813c376e46559aa49b5d42d86b9d4f6c7d0040 100644 (file)
@@ -739,7 +739,8 @@ void mail_storage_copy_list_error(struct mail_storage *storage,
 void mail_storage_copy_error(struct mail_storage *dest,
                             struct mail_storage *src);
 /* set record in mail cache corrupted */
-void mail_set_mail_cache_corrupted(struct mail *mail, const char *fmt, ...);
+void mail_set_mail_cache_corrupted(struct mail *mail, const char *fmt, ...)
+       ATTR_FORMAT(2, 3);
 
 /* Indicate mail being expunged by autoexpunge */
 void mail_autoexpunge(struct mail *mail);