summaryrefslogtreecommitdiff
path: root/ext/soap/php_encoding.c
diff options
context:
space:
mode:
authorBrad LaFountain <rodif_bl@php.net>2002-08-14 05:26:25 +0000
committerBrad LaFountain <rodif_bl@php.net>2002-08-14 05:26:25 +0000
commit7c1d2ff2e45d2930fb08a27f08c3748309e8a7ab (patch)
tree8117fec68e6e7618ed6180ea72a96300120a2314 /ext/soap/php_encoding.c
parentb806a8e247e0ff869b4f8f35a9ab9effd2f44a7a (diff)
downloadphp-git-7c1d2ff2e45d2930fb08a27f08c3748309e8a7ab.tar.gz
some more doc/lit stuff
some more wsdl stuff
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r--ext/soap/php_encoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c
index 8546289123..d48bccc918 100644
--- a/ext/soap/php_encoding.c
+++ b/ext/soap/php_encoding.c
@@ -956,14 +956,14 @@ encodePtr get_conversion_ex(HashTable *encoding, int encode)
return *enc;
}
-encodePtr get_conversion_from_href_type_ex(HashTable *encoding, char *type)
+encodePtr get_conversion_from_href_type_ex(HashTable *encoding, char *type, int len)
{
encodePtr *enc = NULL;
if(encoding == NULL)
return NULL;
- if(zend_hash_find(encoding, type, strlen(type), (void **)&enc) == FAILURE)
+ if(zend_hash_find(encoding, type, len + 1, (void **)&enc) == FAILURE)
return NULL;
return (*enc);