|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
??? ?? 1999, Version 4.0 Beta 2
+- Fixed ldap_search(), ldap_read() and ldap_list() (Zeev)
- Fixed Apache information in phpinfo() (sam@breakfree.com)
- Improved register_shutdown_function() - you may now supply arguments that
will be passed to the shutdown function (Zeev)
static void php3_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
{
- pval *link, *base_dn, *filter, *attrs, *attr;
+ pval *link, *base_dn, *filter, *attrs, **attr;
char *ldap_base_dn, *ldap_filter;
LDAP *ldap;
char **ldap_attrs = NULL;
RETURN_FALSE;
return;
}
- convert_to_string(attr);
- ldap_attrs[i] = attr->value.str.val;
+ SEPARATE_ZVAL(attr);
+ convert_to_string(*attr);
+ ldap_attrs[i] = (*attr)->value.str.val;
}
ldap_attrs[num_attribs] = NULL;