Mercurial > dovecot > original-hg > dovecot-2.1
changeset 14818:fd2d24171afd
mailbox-alias plugin: Error handling fix.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 27 Nov 2012 10:02:59 +0200 |
parents | 55e84bb452e6 |
children | 8770940057b9 |
files | src/plugins/mailbox-alias/mailbox-alias-plugin.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/mailbox-alias/mailbox-alias-plugin.c Tue Nov 27 09:53:33 2012 +0200 +++ b/src/plugins/mailbox-alias/mailbox-alias-plugin.c Tue Nov 27 10:02:59 2012 +0200 @@ -114,7 +114,7 @@ if (mailbox_symlink_exists(list, alias->new_vname, &existence) < 0) ret = -1; - if (existence == MAILBOX_SYMLINK_EXISTENCE_SYMLINK) + else if (existence == MAILBOX_SYMLINK_EXISTENCE_SYMLINK) return 1; } }