From 8dbbddfb542d3cdea20c4ca70c7321c4d728e23d Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Mon, 13 Jan 2003 13:39:29 +0000 Subject: 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. --- ext/rpc/xmlrpc/xmlrpc-epi-php.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/rpc/xmlrpc/xmlrpc-epi-php.c') 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)) { -- cgit v1.2.1