diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-09 09:10:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-09-09 09:10:26 +0200 |
commit | c0dd0943168cdcac3efcb0744767eef241a11112 (patch) | |
tree | ee4473441a3032aa5e7d75643d597a204582a243 /antispam-plugin.h | |
parent | ea27a882ce5b26967fc68c32970d61e77a15042c (diff) | |
download | dovecot-antispam-c0dd0943168cdcac3efcb0744767eef241a11112.tar.gz dovecot-antispam-c0dd0943168cdcac3efcb0744767eef241a11112.tar.xz dovecot-antispam-c0dd0943168cdcac3efcb0744767eef241a11112.zip |
some more verbose debugging, untested
Diffstat (limited to '')
-rw-r--r-- | antispam-plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/antispam-plugin.h b/antispam-plugin.h index ff1294e..6ca975f 100644 --- a/antispam-plugin.h +++ b/antispam-plugin.h @@ -46,11 +46,15 @@ int backend_commit(struct mailbox_transaction_context *ctx, #ifdef CONFIG_DEBUG void debug(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); +void debugv(char **args); #else static void debug(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); static inline void debug(const char *fmt __attribute__((unused)), ...) { } +static inline void debugv(char **args __attribute__((unused))) +{ +} #endif #if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) |