]> granicus.if.org Git - php/commitdiff
Fixed ZTS build.
authorEdin Kadribasic <edink@php.net>
Mon, 13 Jan 2003 13:36:23 +0000 (13:36 +0000)
committerEdin Kadribasic <edink@php.net>
Mon, 13 Jan 2003 13:36:23 +0000 (13:36 +0000)
ext/xmlrpc/xmlrpc-epi-php.c

index 5eac9da6f90a10ea2415859c2dd5a742616f7b59..f3316bbd819551d71daa8c044f9113022d837609 100644 (file)
@@ -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)) {