dovecot-1.2: ldap: Give better error message when aborting LDAP ...

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 3 02:03:42 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/a7503487627d
changeset: 8705:a7503487627d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 02 19:00:50 2009 -0500
description:
ldap: Give better error message when aborting LDAP requests due to not being connected.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/auth/db-ldap.c |    4 ++--

diffs (14 lines):

diff -r ffcb2fb59c1d -r a7503487627d src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Mon Feb 02 18:25:21 2009 -0500
+++ b/src/auth/db-ldap.c	Mon Feb 02 19:00:50 2009 -0500
@@ -828,8 +828,8 @@ static void db_ldap_disconnect_timeout(s
 static void db_ldap_disconnect_timeout(struct ldap_connection *conn)
 {
 	db_ldap_abort_requests(conn, -1U,
-			       DB_LDAP_REQUEST_DISCONNECT_TIMEOUT_SECS,
-			       FALSE, "LDAP server not connected");
+		DB_LDAP_REQUEST_DISCONNECT_TIMEOUT_SECS, FALSE,
+		"Aborting (timeout), we're not connected to LDAP server");
 
 	if (aqueue_count(conn->request_queue) == 0) {
 		/* no requests left, remove this timeout handler */


More information about the dovecot-cvs mailing list