Re: cvs: php-src / NEWS /ext/ldap ldap.c

From: Date: Sat, 09 Jul 2005 01:00:57 +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-32831@lists.php.net to get a copy of this message
    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

« previous php.cvs (#32831) next »