Mercurial > dovecot > core-2.2
changeset 21819:c7c9d84d9be3
lib-storage: Fix mail_user_autoexpunge() return value to be initialized properly
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 24 Mar 2017 04:21:49 +0200 |
parents | 944cd7603aff |
children | de6920764b89 |
files | src/lib-storage/mail-autoexpunge.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-autoexpunge.c Thu Mar 23 14:27:28 2017 +0200 +++ b/src/lib-storage/mail-autoexpunge.c Fri Mar 24 04:21:49 2017 +0200 @@ -229,7 +229,7 @@ { struct mailbox_autoexpunge_lock lock = { .fd = -1 }; struct mail_namespace *ns; - unsigned int expunged_count; + unsigned int expunged_count = 0; for (ns = user->namespaces; ns != NULL; ns = ns->next) { if (ns->alias_for == NULL) {