diff options
| author | Dmitry Stogov <dmitry@php.net> | 2004-01-12 11:46:01 +0000 | 
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2004-01-12 11:46:01 +0000 | 
| commit | 29fe45887227a2d3f972252ac4a1783a3d700d1a (patch) | |
| tree | 6de6c8aa31762757c96381d79e12230cfadb4885 /ext/soap/php_schema.c | |
| parent | 9116f2750467d97e110b7f536855f30641420343 (diff) | |
| download | php-git-29fe45887227a2d3f972252ac4a1783a3d700d1a.tar.gz | |
WSDL support: support for wsdl import
Diffstat (limited to 'ext/soap/php_schema.c')
| -rw-r--r-- | ext/soap/php_schema.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index 1b0756e4d8..054b5085cc 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -124,7 +124,7 @@ static int schema_simpleType(sdlPtr *sdl, xmlAttrPtr tsn, xmlNodePtr simpleType,  			smart_str_0(&key);  		} -		zend_hash_add(ht, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&ptr); +		zend_hash_update(ht, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&ptr);  		cur_type = (*ptr);  		create_encoder((*sdl), cur_type, ns->children->content, name->children->content);  		smart_str_free(&key); @@ -783,7 +783,7 @@ static int schema_complexType(sdlPtr *sdl, xmlAttrPtr tsn, xmlNodePtr compType,  			smart_str_0(&key);  		} -		zend_hash_add(ht, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&ptr); +		zend_hash_update(ht, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&ptr);  		cur_type = (*ptr);  		create_encoder((*sdl), cur_type, ns->children->content, name->children->content);  		smart_str_free(&key); @@ -896,7 +896,7 @@ static int schema_element(sdlPtr *sdl, xmlAttrPtr tsn, xmlNodePtr element, sdlTy  		}  		smart_str_0(&key); -		zend_hash_add(addHash, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&tmp); +		zend_hash_update(addHash, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), (void **)&tmp);  		cur_type = (*tmp);  /*  		create_encoder((*sdl), cur_type, ns->children->content, name->children->content);  | 
