Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8705:a7503487627d HEAD
ldap: Give better error message when aborting LDAP requests due to not being connected.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 02 Feb 2009 19:00:50 -0500 |
parents | ffcb2fb59c1d |
children | e2251b0bd12b |
files | src/auth/db-ldap.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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(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 */