]> git.sur5r.net Git - openldap/commitdiff
ITS#2019 Initialize utils properly
authorHoward Chu <hyc@openldap.org>
Sat, 10 Aug 2002 23:34:55 +0000 (23:34 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 10 Aug 2002 23:34:55 +0000 (23:34 +0000)
libraries/libldap/init.c

index 96e7b8f3dc9f67be7a18bb108a3c23902bb831e0..4c992ac53f3a18911e181ee3e924df18a4f79b51 100644 (file)
@@ -483,6 +483,8 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
 
        ldap_int_error_init();
 
+       ldap_int_utils_init();
+
 #ifdef HAVE_WINSOCK2
 {      WORD wVersionRequested;
        WSADATA wsaData;
@@ -521,8 +523,6 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
        || defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL)
        ldap_int_hostname = ldap_pvt_get_fqdn( ldap_int_hostname );
 #endif
-       ldap_int_utils_init();
-
        if ( ldap_int_tblsize == 0 )
                ldap_int_ip_init();