]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap,pop3: Properly terminate logout tab.
authorAki Tuomi <aki.tuomi@dovecot.fi>
Sun, 4 Feb 2018 11:40:12 +0000 (13:40 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 5 Feb 2018 09:30:36 +0000 (11:30 +0200)
Fixes Fatal: master: service(imap): child killed with signal 11

Broken in e0a42caee5a04d29cfa95ae7719aeaa708001255 and
1ecc087ee90439787de7df9b9a60e0d35b5dda07

src/imap/imap-client.c
src/pop3/pop3-client.c

index 9f3be9b6ae220a2e68dc5c32cd16a2960a69088c..ae4c616142ced9cddea74a2454e988bc177ced9f 100644 (file)
@@ -246,6 +246,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);
index 05998c5184fb5e6e0ae86ebb344340f88cbe7cd0..4328ae18f705bec8058cf39ff57c5290b4597d31 100644 (file)
@@ -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);