From: Kurt Zeilenga Date: Sat, 6 Mar 1999 17:11:35 +0000 (+0000) Subject: Change (int) invalue == (int) LDAP_OPT_ON to invalue == LDAP_OPT_ON. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~456 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c06d0da0991ff2ea4d91b2b80bbb667df8ca9e1;p=openldap Change (int) invalue == (int) LDAP_OPT_ON to invalue == LDAP_OPT_ON. --- diff --git a/libraries/libldap/options.c b/libraries/libldap/options.c index 7bc03b141d..a4b5d8ae2b 100644 --- a/libraries/libldap/options.c +++ b/libraries/libldap/options.c @@ -266,7 +266,7 @@ ldap_set_option( return 0; case LDAP_OPT_REFERRALS: - if((int) invalue == (int) LDAP_OPT_ON) { + if(invalue == LDAP_OPT_ON) { LDAP_BOOL_SET(lo, LDAP_BOOL_REFERRALS); } else { LDAP_BOOL_CLR(lo, LDAP_BOOL_REFERRALS); @@ -274,7 +274,7 @@ ldap_set_option( return 0; case LDAP_OPT_RESTART: - if((int) invalue == (int) LDAP_OPT_ON) { + if(invalue == LDAP_OPT_ON) { LDAP_BOOL_SET(lo, LDAP_BOOL_RESTART); } else { LDAP_BOOL_CLR(lo, LDAP_BOOL_RESTART);