sniper Fri Jul 8 20:59:50 2005 EDT
Modified files:
/php-src/ext/ldap ldap.c
Log:
- No need to use convert_to_string_ex() when dealing with strings
http://cvs.php.net/diff.php/php-src/ext/ldap/ldap.c?r1=1.159&r2=1.160&ty=u
Index: php-src/ext/ldap/ldap.c
diff -u php-src/ext/ldap/ldap.c:1.159 php-src/ext/ldap/ldap.c:1.160
--- php-src/ext/ldap/ldap.c:1.159 Fri Jul 8 20:46:45 2005
+++ php-src/ext/ldap/ldap.c Fri Jul 8 20:59:49 2005
@@ -22,7 +22,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ldap.c,v 1.159 2005/07/09 00:46:45 sniper Exp $ */
+/* $Id: ldap.c,v 1.160 2005/07/09 00:59:49 sniper Exp $ */
#define IS_EXT_MODULE
#ifdef HAVE_CONFIG_H
@@ -314,7 +314,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "LDAP Support", "enabled");
- php_info_print_table_row(2, "RCS Version", "$Id: ldap.c,v 1.159
2005/07/09 00:46:45 sniper Exp $");
+ php_info_print_table_row(2, "RCS Version", "$Id: ldap.c,v 1.160
2005/07/09 00:59:49 sniper Exp $");
if (LDAPG(max_links) == -1) {
snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links));
@@ -730,7 +730,6 @@
/* If anything else than string is passed,
ldap_base_dn = NULL */
if (Z_TYPE_PP(base_dn) == IS_STRING) {
- convert_to_string_ex(base_dn);
ldap_base_dn = Z_STRVAL_PP(base_dn);
}
}
@@ -770,7 +769,6 @@
nbases = 0; /* this means string, not array */
/* If anything else than string is passed, ldap_base_dn
= NULL */
if (Z_TYPE_PP(base_dn) == IS_STRING) {
- convert_to_string_ex(base_dn);
ldap_base_dn = Z_STRVAL_PP(base_dn);
} else {
ldap_base_dn = NULL;
@@ -815,7 +813,6 @@
/* 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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php