[dovecot-cvs] dovecot/src/imap imap-sync.c,1.22,1.23
tss at dovecot.org
tss at dovecot.org
Fri Jan 26 13:58:52 UTC 2007
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv15340/imap
Modified Files:
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.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- imap-sync.c 20 Dec 2006 19:23:46 -0000 1.22
+++ imap-sync.c 26 Jan 2007 13:58:50 -0000 1.23
@@ -60,6 +60,7 @@
int imap_sync_deinit(struct imap_sync_context *ctx)
{
struct mailbox_status status;
+ int ret;
mail_free(&ctx->mail);
@@ -71,7 +72,7 @@
return -1;
}
- mailbox_transaction_commit(&ctx->t, 0);
+ ret = mailbox_transaction_commit(&ctx->t, 0);
t_push();
@@ -88,7 +89,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