]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/controls.c
Update for new password codes for MSVC5
[openldap] / libraries / libldap / controls.c
index cc07664c90681f2e62808926cc96ea9c56cd1180..cab753e8810a00b3d20ccf2de46a485d66b16e5b 100644 (file)
@@ -151,7 +151,7 @@ int ldap_int_get_controls(
                return LDAP_NO_MEMORY;
        }
 
-       ctrls[nctrls] = NULL;
+       *ctrls[nctrls] = NULL;
 
        for( tag = ber_first_element( ber, &len, &opaque );
                tag != LBER_ERROR;