[dovecot-cvs] dovecot/src/pop3 client.c,1.35,1.36

cras at dovecot.org cras at dovecot.org
Fri Sep 24 14:47:32 EEST 2004


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv19961/pop3

Modified Files:
	client.c 
Log Message:
Split sync_flag_full into sync_flag_full_read and _write. Closing mailbox
now always writes changes.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- client.c	12 Sep 2004 14:26:58 -0000	1.35
+++ client.c	24 Sep 2004 11:47:30 -0000	1.36
@@ -42,7 +42,7 @@
         struct mailbox_sync_rec sync_rec;
 	struct mailbox_status status;
 
-	ctx = mailbox_sync_init(box, MAILBOX_SYNC_FLAG_FULL);
+	ctx = mailbox_sync_init(box, MAILBOX_SYNC_FLAG_FULL_READ);
 	while (mailbox_sync_next(ctx, &sync_rec) > 0)
 		;
 	return mailbox_sync_deinit(ctx, &status);



More information about the dovecot-cvs mailing list