[dovecot-cvs] dovecot/src/pop3 client.c,1.66.2.1,1.66.2.2
tss at dovecot.org
tss at dovecot.org
Sun Jan 28 15:45:54 UTC 2007
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv19528
Modified Files:
Tag: branch_1_0
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.66.2.1
retrieving revision 1.66.2.2
diff -u -d -r1.66.2.1 -r1.66.2.2
--- client.c 10 Aug 2006 22:32:07 -0000 1.66.2.1
+++ client.c 28 Jan 2007 15:45:52 -0000 1.66.2.2
@@ -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