From 24afb81b5eaa2d6275a0e161d2583522eec24a30 Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Tue, 10 Oct 2017 02:53:56 +0200 Subject: [PATCH] lmtp: client: Use client_remote_id() to construct proctitle. --- src/lmtp/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lmtp/client.c b/src/lmtp/client.c index f188e18a69..6094de9165 100644 --- a/src/lmtp/client.c +++ b/src/lmtp/client.c @@ -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;