cvs: php-src /ext/soap php_sdl.c

From: Date: Fri, 29 Apr 2005 05:38:54 +0000
Subject: cvs: php-src /ext/soap php_sdl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31670@lists.php.net to get a copy of this message
dmitry Fri Apr 29 01:38:54 2005 EDT Modified files: /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.82&r2=1.83&ty=u Index: php-src/ext/soap/php_sdl.c diff -u php-src/ext/soap/php_sdl.c:1.82 php-src/ext/soap/php_sdl.c:1.83 --- php-src/ext/soap/php_sdl.c:1.82 Wed Apr 20 04:30:41 2005 +++ php-src/ext/soap/php_sdl.c Fri Apr 29 01:38:54 2005 @@ -17,7 +17,7 @@ | Dmitry Stogov <dmitry@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_sdl.c,v 1.82 2005/04/20 08:30:41 dmitry Exp $ */ +/* $Id: php_sdl.c,v 1.83 2005/04/29 05:38:54 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; } }

« previous php.cvs (#31670) next »