dmitry Fri Apr 29 01:38:32 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/soap php_sdl.c Log: Fixed WSDL cache bug http://cvs.php.net/diff.php/php-src/ext/soap/php_sdl.c?r1=1.70.2.9&r2=1.70.2.10&ty=u Index: php-src/ext/soap/php_sdl.c diff -u php-src/ext/soap/php_sdl.c:1.70.2.9 php-src/ext/soap/php_sdl.c:1.70.2.10 --- php-src/ext/soap/php_sdl.c:1.70.2.9 Wed Apr 20 04:31:10 2005 +++ php-src/ext/soap/php_sdl.c Fri Apr 29 01:38:31 2005 @@ -17,7 +17,7 @@ | Dmitry Stogov <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: php_sdl.c,v 1.70.2.9 2005/04/20 08:31:10 dmitry Exp $ */ +/* $Id: php_sdl.c,v 1.70.2.10 2005/04/29 05:38:31 dmitry Exp $ */ #include "php_soap.h" #include "ext/libxml/php_libxml.h" @@ -1065,7 +1065,7 @@ return ctx.sdl; } -#define WSDL_CACHE_VERSION 0x0d +#define WSDL_CACHE_VERSION 0x0e #define WSDL_CACHE_GET(ret,type,buf) memcpy(&ret,*buf,sizeof(type)); *buf += sizeof(type); #define WSDL_CACHE_GET_INT(ret,buf) ret = ((unsigned char)(*buf)[0])|((unsigned char)(*buf)[1]<<8)|((unsigned char)(*buf)[2]<<16)|((int)(*buf)[3]<<24); *buf += 4; @@ -1352,9 +1352,9 @@ tmp2->name = sdl_deserialize_string(in); tmp2->ns = sdl_deserialize_string(in); WSDL_CACHE_GET_INT(n, in); - tmp->encode = encoders[n]; + tmp2->encode = encoders[n]; WSDL_CACHE_GET_INT(n, in); - tmp->element = types[n]; + tmp2->element = types[n]; --j; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php