Browse Source

Fixed ZTS build.

PHP-5
Edin Kadribasic 24 years ago
parent
commit
8ef5a3d48e
  1. 2
      ext/xmlrpc/xmlrpc-epi-php.c

2
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)) {

Loading…
Cancel
Save