]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-ip.c
Commit preliminary fix for ldap.conf base usage.
[openldap] / libraries / libldap / os-ip.c
index b56809cda4bbfc70db365dc80da78e12f291879e..1b22917a46e95c5f996beb6a58801bbf0b4a3dc2 100644 (file)
@@ -179,7 +179,7 @@ ldap_host_connected_to( Sockbuf *sb )
        if (( hp = gethostbyaddr( (char *) &sin.sin_addr,
            sizeof( sin.sin_addr ), AF_INET )) != NULL ) {
                if ( hp->h_name != NULL ) {
-                       return( strdup( hp->h_name ));
+                       return( ldap_strdup( hp->h_name ));
                }
        }