diff src/imap/imap-fetch.c @ 6512:1a3604c8ee05 HEAD

mailbox_transaction_commit*() doesn't sync the mailbox anymore, so it shouldn't take mailbox_sync_flags parameter either.
author Timo Sirainen <tss@iki.fi>
date Sun, 30 Sep 2007 17:03:26 +0300
parents 59490181469e
children 76cf2e548c6d
line wrap: on
line diff
--- a/src/imap/imap-fetch.c	Sun Sep 30 16:57:32 2007 +0300
+++ b/src/imap/imap-fetch.c	Sun Sep 30 17:03:26 2007 +0300
@@ -391,7 +391,7 @@
 		/* even if something failed, we want to commit changes to
 		   cache, as well as possible \Seen flag changes for FETCH
 		   replies we returned so far. */
-		if (mailbox_transaction_commit(&ctx->trans, 0) < 0)
+		if (mailbox_transaction_commit(&ctx->trans) < 0)
 			ctx->failed = TRUE;
 	}
 	return ctx->failed ? -1 : 0;