From 7c1d2ff2e45d2930fb08a27f08c3748309e8a7ab Mon Sep 17 00:00:00 2001 From: Brad LaFountain Date: Wed, 14 Aug 2002 05:26:25 +0000 Subject: some more doc/lit stuff some more wsdl stuff --- ext/soap/php_encoding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/soap/php_encoding.c') 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); -- cgit v1.2.1