diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-09-04 14:38:29 +0200 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-09-04 14:38:29 +0200 |
commit | 67ba0e7ee99366673fa70e0e02cd63abea635b7d (patch) | |
tree | a59bd055b72a994eebb6c19b558a3681b8c5bd9b /src | |
parent | 0257e00561658908365a58da5acd8051f057b747 (diff) | |
download | ldap_driver-67ba0e7ee99366673fa70e0e02cd63abea635b7d.tar.gz ldap_driver-67ba0e7ee99366673fa70e0e02cd63abea635b7d.tar.xz ldap_driver-67ba0e7ee99366673fa70e0e02cd63abea635b7d.zip |
Fix a typo in previous commit
Diffstat (limited to 'src')
-rw-r--r-- | src/ldap_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |