]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/cldap.c
Remove LDAP_PORT dependencies so that ldap.conf defaults take over.
[openldap] / libraries / libldap / cldap.c
index 8af96273070a2e6e73f9a67068683a24cd69784a..5ae4c6a66350a2fe51235658ccf385b0dd543485 100644 (file)
@@ -134,7 +134,7 @@ cldap_open( char *host, int port )
            }
 
            if ( ld->ld_host == NULL ) {
-                   ld->ld_host = strdup( host );
+                   ld->ld_host = ldap_strdup( host );
            }
        }