[dovecot-cvs] dovecot/src/imap imap-sync.c,1.20,1.20.2.1

tss at dovecot.org tss at dovecot.org
Fri Jan 26 13:58:32 UTC 2007


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv15336/imap

Modified Files:
      Tag: branch_1_0
	imap-sync.c 
Log Message:
Cleanups and minor fixes



Index: imap-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-sync.c,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -d -r1.20 -r1.20.2.1
--- imap-sync.c	20 Feb 2006 17:34:02 -0000	1.20
+++ imap-sync.c	26 Jan 2007 13:58:30 -0000	1.20.2.1
@@ -60,6 +60,7 @@
 int imap_sync_deinit(struct imap_sync_context *ctx)
 {
 	struct mailbox_status status;
+	int ret;
 
 	mail_free(&ctx->mail);
 
@@ -69,7 +70,7 @@
 		return -1;
 	}
 
-	mailbox_transaction_commit(&ctx->t, 0);
+	ret = mailbox_transaction_commit(&ctx->t, 0);
 
 	t_push();
 
@@ -86,7 +87,7 @@
 
 	t_pop();
 	i_free(ctx);
-	return 0;
+	return ret;
 }
 
 int imap_sync_more(struct imap_sync_context *ctx)



More information about the dovecot-cvs mailing list