Re: cvs: php-src / NEWS /ext/ldap ldap.c
| From: | Andi Gutmans | Date: | Sat, 09 Jul 2005 00:50:05 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/ldap ldap.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32828@lists.php.net to get a copy of this message | ||
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;
+ }
}