From 4de6a10ce210e4c4e1ead614ec0e49fbe61ed70c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 14 Jan 1999 06:28:50 +0000 Subject: [PATCH] Insert missing ')'... --- libraries/libldap/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 8813f26d7f..81f31a1d89 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -304,6 +304,12 @@ void openldap_ldap_initialize( void ) LDAP_BOOL_SET(&gopts, LDAP_BOOL_REFERRALS); #endif + openldap_ldap_initialized = 1; + + if( getenv("LDAPNOINIT") != NULL ) { + return; + } + openldap_ldap_init_w_conf(DEFAULT_LDAP_CONF_FILE); openldap_ldap_init_w_userconf(DEFAULT_LDAP_USERRC_FILE); @@ -316,6 +322,4 @@ void openldap_ldap_initialize( void ) } openldap_ldap_init_w_env(NULL); - - openldap_ldap_initialized = 1; } -- 2.39.5