dovecot-1.1: ldap: Give better error message when aborting LDAP ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Feb 3 02:00:42 EET 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/f3b073ea2231
changeset: 8145:f3b073ea2231
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 02 19:00:35 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 b87b7a0b0f68 -r f3b073ea2231 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c Mon Feb 02 18:57:00 2009 -0500
+++ b/src/auth/db-ldap.c Mon Feb 02 19:00:35 2009 -0500
@@ -835,8 +835,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