summaryrefslogtreecommitdiff
path: root/ext/rpc/xmlrpc/xmlrpc-epi-php.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-01-13 13:39:29 +0000
committerEdin Kadribasic <edink@php.net>2003-01-13 13:39:29 +0000
commit8dbbddfb542d3cdea20c4ca70c7321c4d728e23d (patch)
treea6ec090135d8a1a617886e2bec4a7609e75982e6 /ext/rpc/xmlrpc/xmlrpc-epi-php.c
parent8ef5a3d48e575d441cc9b8fb17d1df0e2ccecf5b (diff)
downloadphp-git-8dbbddfb542d3cdea20c4ca70c7321c4d728e23d.tar.gz
Fix ZTS build here too.
# # What is the correct location of XMLRPC extension? # Can the reduntand one be removed then and the build system fixed # to acommodate that.
Diffstat (limited to 'ext/rpc/xmlrpc/xmlrpc-epi-php.c')
-rw-r--r--ext/rpc/xmlrpc/xmlrpc-epi-php.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/rpc/xmlrpc/xmlrpc-epi-php.c b/ext/rpc/xmlrpc/xmlrpc-epi-php.c
index 5eac9da6f9..f3316bbd81 100644
--- a/ext/rpc/xmlrpc/xmlrpc-epi-php.c
+++ b/ext/rpc/xmlrpc/xmlrpc-epi-php.c
@@ -1317,6 +1317,7 @@ XMLRPC_VECTOR_TYPE xmlrpc_str_as_vector_type(const char* str)
int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
{
int bSuccess = FAILURE;
+ TSRMLS_FETCH();
/* we only really care about strings because they can represent
* base64 and datetime. all other types have corresponding php types
@@ -1366,6 +1367,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(zval* value, zval** newvalue)
{
XMLRPC_VALUE_TYPE type = xmlrpc_none;
+ TSRMLS_FETCH();
if (value) {
switch (Z_TYPE_P(value)) {