]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: Replace i_<log>() with e_<log>()
authorMarco Bettini <marco.bettini@open-xchange.com>
Mon, 10 Oct 2022 08:46:46 +0000 (08:46 +0000)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 26 Oct 2022 16:35:08 +0000 (16:35 +0000)
src/stats/client-reader.c
src/stats/client-writer.c

index e944001b62631f20b3ed97e7d97c520d1b1d7b9b..5af9e9129a7148a56d3b868725d3c13735e75ebe 100644 (file)
@@ -211,7 +211,7 @@ reader_client_input_args(struct connection *conn, const char *const *args)
        const char *cmd = args[0];
 
        if (cmd == NULL) {
-               i_error("Client sent empty line");
+               e_error(conn->event, "Client sent empty line");
                return 1;
        }
        args++;
index 40772cf79b3287119d044a7bd429b3d1ce461a6f..eb84b7ddfa84d4f8d3679d5cf468ec0a99f9f289 100644 (file)
@@ -299,7 +299,7 @@ writer_client_input_args(struct connection *conn, const char *const *args)
        bool ret;
 
        if (cmd == NULL) {
-               i_error("Client sent empty line");
+               e_error(conn->event, "Client sent empty line");
                return 1;
        }
        if (strcmp(cmd, "EVENT") == 0)
@@ -317,7 +317,8 @@ writer_client_input_args(struct connection *conn, const char *const *args)
                ret = FALSE;
        }
        if (!ret) {
-               i_error("Client sent invalid input for %s: %s (input: %s)",
+               e_error(conn->event,
+                       "Client sent invalid input for %s: %s (input: %s)",
                        cmd, error, t_strarray_join(args, "\t"));
                return -1;
        }