Skip to content

Commit

Permalink
lmtp, submission: Remove extra spaces from "state = X" in disconnect …
Browse files Browse the repository at this point in the history
…log line

Other Dovecot log messages don't have spaces in key=value.
  • Loading branch information
sirainen authored and cmouse committed Aug 7, 2018
1 parent 944e0e8 commit d03413e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lmtp/client.c
Expand Up @@ -233,7 +233,7 @@ void client_disconnect(struct client *client, const char *enh_code,

if (reason == NULL)
reason = "Connection closed";
i_info("Disconnect from %s: %s (state = %s)", client_remote_id(client),
i_info("Disconnect from %s: %s (state=%s)", client_remote_id(client),
reason, client_state_get_name(client));

if (conn != NULL) {
Expand Down
2 changes: 1 addition & 1 deletion src/submission/submission-client.c
Expand Up @@ -401,7 +401,7 @@ void client_disconnect(struct client *client, const char *enh_code,

if (reason == NULL)
reason = "Connection closed";
i_info("Disconnect from %s: %s %s (state = %s)",
i_info("Disconnect from %s: %s %s (state=%s)",
client_remote_id(client),
reason, client_stats(client),
client_state_get_name(client));
Expand Down

0 comments on commit d03413e

Please sign in to comment.