]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-lda: Replace i_error() with e_error().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 10 Mar 2019 11:58:03 +0000 (12:58 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 13 Sep 2019 07:37:43 +0000 (10:37 +0300)
src/lib-lda/mail-deliver.c

index 00c9f85651dd44d7fea6cb17177af9e850cce5c9..3121c59913c01364790675729040577def59ae40 100644 (file)
@@ -194,7 +194,8 @@ void mail_deliver_log(struct mail_deliver_context *ctx, const char *fmt, ...)
        str = t_str_new(256);
        tab = mail_deliver_ctx_get_log_var_expand_table(ctx, msg);
        if (var_expand(str, ctx->set->deliver_log_format, tab, &error) <= 0) {
-               i_error("Failed to expand deliver_log_format=%s: %s",
+               e_error(ctx->event,
+                       "Failed to expand deliver_log_format=%s: %s",
                        ctx->set->deliver_log_format, error);
        }