From: Timo Sirainen Date: Wed, 5 Aug 2020 19:48:40 +0000 (+0300) Subject: auth: Worker commands: Rename "id" event field to "command_id" X-Git-Tag: 2.3.13~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3edbefb705c8f43bfc167522bb897661bfb234de;p=thirdparty%2Fdovecot%2Fcore.git auth: Worker commands: Rename "id" event field to "command_id" Now that auth_request events are inherited from worker command events, the "id" field was also inherited. This is rather confusing and might conflict with other IDs in the future, so better to rename it already. --- diff --git a/src/auth/auth-worker-client.c b/src/auth/auth-worker-client.c index c0f9ef3d57..38d0ba46fc 100644 --- a/src/auth/auth-worker-client.c +++ b/src/auth/auth-worker-client.c @@ -762,7 +762,7 @@ auth_worker_client_input_args(struct connection *conn, const char *const *args) cmd->event = event_create(client->conn.event); event_add_category(cmd->event, &event_category_auth); event_add_str(cmd->event, "command", args[1]); - event_add_int(cmd->event, "id", id); + event_add_int(cmd->event, "command_id", id); event_set_append_log_prefix(cmd->event, t_strdup_printf("auth-worker<%u>: ", id)); client->cmd_start = ioloop_time; client->refcount++;