Mercurial > dovecot > core-2.2
changeset 5424:448901e76f93 HEAD
INBOX fallbacking with -n wasn't working.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 26 Mar 2007 02:58:22 +0300 |
parents | 2500d126f865 |
children | 72aaf2069aa3 |
files | src/deliver/deliver.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/deliver/deliver.c Mon Mar 26 02:51:12 2007 +0300 +++ b/src/deliver/deliver.c Mon Mar 26 02:58:22 2007 +0300 @@ -692,12 +692,12 @@ /* plugins didn't handle this. save into the default mailbox. */ i_stream_seek(input, 0); ret = deliver_save(storage, mailbox, mail, 0, NULL); - if (ret < 0 && strcasecmp(mailbox, "INBOX") != 0) { - /* still didn't work. try once more to save it - to INBOX. */ - i_stream_seek(input, 0); - ret = deliver_save(storage, "INBOX", mail, 0, NULL); - } + } + if (ret < 0 && strcasecmp(mailbox, "INBOX") != 0) { + /* still didn't work. try once more to save it + to INBOX. */ + i_stream_seek(input, 0); + ret = deliver_save(storage, "INBOX", mail, 0, NULL); } if (ret < 0) {