Skip to content

Commit

Permalink
lmtp: client: Use client_remote_id() to construct proctitle.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Dec 7, 2017
1 parent 0807987 commit 24afb81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lmtp/client.c
Expand Up @@ -64,9 +64,9 @@ void client_state_set(struct client *client, const char *name, const char *args)
str_append(title, "idling");
break;
case 1:
str_append(title, client_remote_id(client));
str_append_c(title, ' ');
str_append(title, client->state.name);
if (client->remote_ip.family != 0)
str_printfa(title, " %s", net_ip2addr(&client->remote_ip));
if (args[0] != '\0')
str_printfa(title, " %s", args);
break;
Expand Down

0 comments on commit 24afb81

Please sign in to comment.