]> git.sur5r.net Git - openldap/commitdiff
ITS#7290 fix ldap_int_initialize() to set debug level
authorHoward Chu <hyc@openldap.org>
Thu, 7 Jun 2012 12:15:04 +0000 (05:15 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 7 Jun 2012 12:15:04 +0000 (05:15 -0700)
libraries/libldap/init.c

index 1247bbb9f9f23b20b6563e730cd0be8320ed6196..0e53104cd4d3bd16331043bce80b7f9e94aa443a 100644 (file)
@@ -658,7 +658,7 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
        if ( ldap_int_tblsize == 0 ) ldap_int_ip_init();
 #endif
 
-       ldap_int_initialize_global_options(gopts, NULL);
+       ldap_int_initialize_global_options(gopts, dbglvl);
 
        if( getenv("LDAPNOINIT") != NULL ) {
                return;