From: Timo Sirainen Date: Wed, 8 May 2019 09:25:39 +0000 (+0300) Subject: pop3: Remove duplicate %d from pop3_logout_format handling X-Git-Tag: 2.3.9~527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=617c05da7d8d2f6a904dee633bf54cbbd9c4f564;p=thirdparty%2Fdovecot%2Fcore.git pop3: Remove duplicate %d from pop3_logout_format handling The first %d was always used as intended, so this didn't actually cause any bugs. It was confusing though. --- diff --git a/src/pop3/pop3-client.c b/src/pop3/pop3-client.c index 43377a889f..ac7193b992 100644 --- a/src/pop3/pop3-client.c +++ b/src/pop3/pop3-client.c @@ -537,8 +537,8 @@ static const char *client_stats(struct client *client) { 'o', dec2str(client->output->offset), "output" }, { 'u', uidl_change, "uidl_change" }, { '\0', client->session_id, "session" }, - { 'd', !client->delete_success ? "0" : - dec2str(client->deleted_size), "deleted_bytes" }, + { '\0', !client->delete_success ? "0" : + dec2str(client->deleted_size), "deleted_bytes" }, { '\0', NULL, NULL } }; const struct var_expand_table *user_tab =