[dovecot-cvs] dovecot/src/pop3 client.c,1.70,1.71

tss at dovecot.org tss at dovecot.org
Sun Jan 28 15:45:56 UTC 2007


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

Modified Files:
	client.c 
Log Message:
If mailbox initialization failed, log an error instead of just telling about
it to the client.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- client.c	15 Dec 2006 18:38:27 -0000	1.70
+++ client.c	28 Jan 2007 15:45:54 -0000	1.71
@@ -165,6 +165,9 @@
 	}
 
 	if (!init_mailbox(client)) {
+		i_error("Couldn't init INBOX: %s",
+			mail_storage_get_last_error(storage, &syntax_error,
+						    &temporary_error));
 		client_destroy(client, "Mailbox init failed");
 		return NULL;
 	}



More information about the dovecot-cvs mailing list