aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns/dns_private.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-04-06 16:27:42 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-04-11 14:16:30 +0200
commit26e2a97b1cbb099fae5a7b613ea1edbb342a4061 (patch)
tree08b9705d1c1805cf4a536e0835205d15be2136a6 /contrib/librdns/dns_private.h
parent765813e908e0f23e98ec6224b0408a152a9d3ec0 (diff)
downloadrspamd-26e2a97b1cbb099fae5a7b613ea1edbb342a4061.tar.gz
rspamd-26e2a97b1cbb099fae5a7b613ea1edbb342a4061.zip
[Minor] enable Wmissing-format-attribute
Diffstat (limited to 'contrib/librdns/dns_private.h')
-rw-r--r--contrib/librdns/dns_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h
index f734e2312..3f0bee437 100644
--- a/contrib/librdns/dns_private.h
+++ b/contrib/librdns/dns_private.h
@@ -138,6 +138,9 @@ struct rdns_resolver {
struct rdns_plugin *curve_plugin;
struct rdns_fake_reply *fake_elts;
+#ifdef __GNUC__
+ __attribute__((format(printf, 4, 0)))
+#endif
rdns_log_function logger;
void *log_data;
enum rdns_log_level log_level;