summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-01-13 13:36:23 +0000
committerEdin Kadribasic <edink@php.net>2003-01-13 13:36:23 +0000
commit8ef5a3d48e575d441cc9b8fb17d1df0e2ccecf5b (patch)
treed03b92f560fe964052e18512b3d93b709f3cbc50 /ext/xmlrpc
parent78f527e2b782a864b539c5af92f521077614685b (diff)
downloadphp-git-8ef5a3d48e575d441cc9b8fb17d1df0e2ccecf5b.tar.gz
Fixed ZTS build.
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/xmlrpc-epi-php.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c
index 5eac9da6f9..f3316bbd81 100644
--- a/ext/xmlrpc/xmlrpc-epi-php.c
+++ b/ext/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)) {