diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-05-21 13:13:50 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-05-21 13:13:50 +0000 |
commit | 7d1dbff79de1bc0db621db4243e7b0442f1858ad (patch) | |
tree | a5702438bdc08ee48d0b9c62230aa12828e360a5 /ext/soap/php_sdl.c | |
parent | 007bac315dffb85b06f6d66ac150425b6b0a4ae7 (diff) | |
download | php-git-7d1dbff79de1bc0db621db4243e7b0442f1858ad.tar.gz |
Fixed bug #41337 WSDL parsing doesn't ignore non soap bindings
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r-- | ext/soap/php_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index ec1d07e81a..b02629a437 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -717,7 +717,7 @@ static sdlPtr load_wsdl(zval *this_ptr, char *struri TSRMLS_DC) trav2 = trav2->next; } if (!address) { - if (has_soap_port || trav->next) { + if (has_soap_port || trav->next || i < n-1) { efree(tmpbinding); trav = trav->next; continue; |