summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-04-29 05:38:54 +0000
committerDmitry Stogov <dmitry@php.net>2005-04-29 05:38:54 +0000
commit72b5173ac33a4f8f3ed3bebc996355f5796d8966 (patch)
treee3e03fc4cc926cf46cbfca87c90ef23067243322 /ext/soap/php_sdl.c
parent5ae4d8e7014044f944e3aa24fb0207ac8c34ca09 (diff)
downloadphp-git-72b5173ac33a4f8f3ed3bebc996355f5796d8966.tar.gz
Fixed WSDL cache bug
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r--ext/soap/php_sdl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c
index fa736a4192..ca71ce7ced 100644
--- a/ext/soap/php_sdl.c
+++ b/ext/soap/php_sdl.c
@@ -1065,7 +1065,7 @@ static sdlPtr load_wsdl(zval *this_ptr, char *struri TSRMLS_DC)
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 @@ static void sdl_deserialize_soap_body(sdlSoapBindingFunctionBodyPtr body, encode
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;
}
}