From 67ba0e7ee99366673fa70e0e02cd63abea635b7d Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Fri, 4 Sep 2009 14:38:29 +0200 Subject: Fix a typo in previous commit --- src/ldap_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ldap_helper.c b/src/ldap_helper.c index 112c763..5c75426 100644 --- a/src/ldap_helper.c +++ b/src/ldap_helper.c @@ -1647,7 +1647,7 @@ handle_connection_error(ldap_connection_t *ldap_conn, isc_result_t *result) *result = ISC_R_SUCCESS; ldap_conn->tries = 0; return 0; - } else if (err_code == LDAP_SERVER_DOWN || LDAP_CONNECT_ERROR) { + } else if (err_code == LDAP_SERVER_DOWN || err_code == LDAP_CONNECT_ERROR) { if (ldap_conn->tries == 0) log_error("connection to the LDAP server was lost"); if (ldap_connect(ldap_conn) == ISC_R_SUCCESS) -- cgit