]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3: Remove duplicate %d from pop3_logout_format handling
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 8 May 2019 09:25:39 +0000 (12:25 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 8 May 2019 09:25:39 +0000 (12:25 +0300)
The first %d was always used as intended, so this didn't actually cause any
bugs. It was confusing though.

src/pop3/pop3-client.c

index 43377a889f802e8da4c1b1b1d61f0a50dd4b2ac7..ac7193b992c103c4ac947c3d9c33197acc3f8f11 100644 (file)
@@ -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 =