[dovecot-cvs] dovecot/src/deliver deliver.c,1.20.2.35,1.20.2.36

tss at dovecot.org tss at dovecot.org
Mon Mar 26 02:58:21 EEST 2007


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv14810

Modified Files:
      Tag: branch_1_0
	deliver.c 
Log Message:
INBOX fallbacking with -n wasn't working.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.20.2.35
retrieving revision 1.20.2.36
diff -u -d -r1.20.2.35 -r1.20.2.36
--- deliver.c	25 Mar 2007 21:58:36 -0000	1.20.2.35
+++ deliver.c	25 Mar 2007 23:58:19 -0000	1.20.2.36
@@ -682,12 +682,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) {



More information about the dovecot-cvs mailing list