Skip to content

Commit

Permalink
pop3: Fix pop3_logout_format=%{deleted_size} expansion when there are…
Browse files Browse the repository at this point in the history
… no deletions

Should be "0", not empty string.
  • Loading branch information
sirainen committed Oct 20, 2016
1 parent 7205301 commit 9227c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pop3/pop3-client.c
Expand Up @@ -568,7 +568,7 @@ static const char *client_stats(struct client *client)
tab[9].value = "";
tab[10].value = client->session_id;
tab[11].value = client->delete_success ?
dec2str(client->deleted_size) : 0;
dec2str(client->deleted_size) : "0";

str = t_str_new(128);
var_expand(str, client->set->pop3_logout_format, tab);
Expand Down

0 comments on commit 9227c6f

Please sign in to comment.