dovecot-2.1: doveadm mailbox delete: Don't crash when namespace ...

dovecot at dovecot.org dovecot at dovecot.org
Sun Feb 12 22:17:02 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/669f09337a23
changeset: 14138:669f09337a23
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Feb 12 22:16:51 2012 +0200
description:
doveadm mailbox delete: Don't crash when namespace for mailbox isn't found.

diffstat:

 src/doveadm/doveadm-mail-mailbox.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 0a5951b08478 -r 669f09337a23 src/doveadm/doveadm-mail-mailbox.c
--- a/src/doveadm/doveadm-mail-mailbox.c	Sun Feb 12 21:10:22 2012 +0200
+++ b/src/doveadm/doveadm-mail-mailbox.c	Sun Feb 12 22:16:51 2012 +0200
@@ -320,6 +320,7 @@
 			i_error("Can't find namespace for: %s", name);
 			doveadm_mail_failed_error(_ctx, MAIL_ERROR_NOTFOUND);
 			ret = -1;
+			continue;
 		}
 
 		box = mailbox_alloc(ns->list, name, 0);


More information about the dovecot-cvs mailing list