diff --git a/src/imap/imap-client.c b/src/imap/imap-client.c index 5202db3259..82f01e1aad 100644 --- a/src/imap/imap-client.c +++ b/src/imap/imap-client.c @@ -266,6 +266,7 @@ const char *client_stats(struct client *client) { '\0', dec2str(client->trashed_count), "trashed" }, { '\0', dec2str(client->autoexpunged_count), "autoexpunged" }, { '\0', dec2str(client->append_count), "appended" }, + { '\0', NULL, NULL } }; const struct var_expand_table *user_tab = mail_user_var_expand_table(client->user); diff --git a/src/pop3/pop3-client.c b/src/pop3/pop3-client.c index 05998c5184..4328ae18f7 100644 --- a/src/pop3/pop3-client.c +++ b/src/pop3/pop3-client.c @@ -539,6 +539,7 @@ static const char *client_stats(struct client *client) { '\0', client->session_id, "session" }, { 'd', !client->delete_success ? "0" : dec2str(client->deleted_size), "deleted_bytes" }, + { '\0', NULL, NULL } }; const struct var_expand_table *user_tab = mail_user_var_expand_table(client->user);