From c37c6e9cec4acce53578ec17680a3d910de191eb Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@dovecot.fi> Date: Sun, 7 Apr 2019 10:51:32 +0200 Subject: [PATCH] lib-sieve: sieve-error - Reorder struct definitions. --- src/lib-sieve/sieve-error-private.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/lib-sieve/sieve-error-private.h b/src/lib-sieve/sieve-error-private.h index b4c21ef24..d0c5a4300 100644 --- a/src/lib-sieve/sieve-error-private.h +++ b/src/lib-sieve/sieve-error-private.h @@ -36,18 +36,15 @@ struct sieve_error_handler { unsigned int errors; unsigned int warnings; - /* Should the errorhandler handle or discard info/debug log? - * (This does not influence the previous setting) - */ - bool log_info; - bool log_debug; - void (*logv)(struct sieve_error_handler *ehandler, const struct sieve_error_params *params, enum sieve_error_flags flags, const char *fmt, va_list args) ATTR_FORMAT(4, 0); void (*free)(struct sieve_error_handler *ehandler); + + bool log_info:1; /* handle or discard info log */ + bool log_debug:1; /* handle or discard debug log */ }; void sieve_error_handler_init(struct sieve_error_handler *ehandler, -- GitLab