Hans Leidekker hans@it.vu.nl writes:
- switch (option)
- {
- case LDAP_OPT_API_FEATURE_INFO:
- {
LDAPAPIFeatureInfoW *featureW;ret = ldap_get_optionW( ld, option, featureW );value = featureinfoWtoA( featureW );featureinfofreeW( featureW );return ret;
This can't work, you need an extra level of indirection for the featureW and value pointers.