]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/controls.c
Fix ldap_send_initial_request() to open connection if not already
[openldap] / libraries / libldap / controls.c
index 134e5c963c9a0fa1cc918a59d8a5b13b3d394ffb..7416242ed274ddda193aa2608e6bc570dced263f 100644 (file)
@@ -109,7 +109,7 @@ LDAPControl *ldap_control_dup( LDAPControl *c )
        }
 
        if( c->ldctl_oid != NULL ) {
-               new->ldctl_oid = ldap_strdup( c->ldctl_oid );
+               new->ldctl_oid = strdup( c->ldctl_oid );
 
                if(new->ldctl_oid == NULL) {
                        free( new );