Yes, good catch (again). :)
--Jani
On Fri, 8 Jul 2005, Andi Gutmans wrote:
Why do you need to convert_to_string_ex() if entry is a string?
Should that be !=?
At 12:46 AM 7/9/2005 +0000, Jani Taskinen wrote:
+ /* If anything else than string is passed,
ldap_base_dn = NULL */
+ if (Z_TYPE_PP(entry) == IS_STRING) {
+ convert_to_string_ex(entry);
+ ldap_base_dn = Z_STRVAL_PP(entry);
+ } else {
+ ldap_base_dn = NULL;
+ }
}
--
Donate @ http://pecl.php.net/wishlist.php/sniper
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php