[dovecot-cvs] dovecot/src/pop3 client.c,1.47,1.48

cras at dovecot.org cras at dovecot.org
Tue Mar 29 16:33:11 EEST 2005


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

Modified Files:
	client.c 
Log Message:
Added input stream parameter to mailbox_open(). With mbox it now allows
opening a read-only mbox using a stream.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- client.c	15 Mar 2005 19:01:53 -0000	1.47
+++ client.c	29 Mar 2005 13:33:09 -0000	1.48
@@ -153,7 +153,7 @@
 		flags |= MAILBOX_OPEN_KEEP_RECENT;
 	if ((uidl_keymask & UIDL_MD5) != 0)
 		flags |= MAILBOX_OPEN_KEEP_HEADER_MD5;
-	client->mailbox = mailbox_open(storage, "INBOX", flags);
+	client->mailbox = mailbox_open(storage, "INBOX", NULL, flags);
 	if (client->mailbox == NULL) {
 		i_error("Couldn't open INBOX: %s",
 			mail_storage_get_last_error(storage, &syntax_error));



More information about the dovecot-cvs mailing list