diff options
author | foobar <sniper@php.net> | 2005-07-09 00:59:49 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-07-09 00:59:49 +0000 |
commit | 15e772ce1300cca0ea1bde6f849a105711e181ab (patch) | |
tree | 31b47c4fe449e6872e64ec09a9a8f914fd36bfdc /ext | |
parent | fcee0869823bd8afffaced80261c8a106de901c5 (diff) | |
download | php-git-15e772ce1300cca0ea1bde6f849a105711e181ab.tar.gz |
- No need to use convert_to_string_ex() when dealing with strings
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ldap/ldap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index a328d0e4f7..7fc0271ae6 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -730,7 +730,6 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) /* 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 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) 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 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) /* 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; |