]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
ldap: Give better error message when aborting LDAP requests due to not being connected.
authorTimo Sirainen <tss@iki.fi>
Tue, 3 Feb 2009 00:00:50 +0000 (19:00 -0500)
committerTimo Sirainen <tss@iki.fi>
Tue, 3 Feb 2009 00:00:50 +0000 (19:00 -0500)
--HG--
branch : HEAD

src/auth/db-ldap.c

index cfe282e9254257c1bc33b43fdcd4e380098afb62..4f36491dba0ac84c17b4226835d070d9afa64a88 100644 (file)
@@ -828,8 +828,8 @@ int db_ldap_connect(struct ldap_connection *conn)
 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 */