diff options
author | Rui Hirokawa <hirokawa@php.net> | 2003-04-19 07:04:00 +0000 |
---|---|---|
committer | Rui Hirokawa <hirokawa@php.net> | 2003-04-19 07:04:00 +0000 |
commit | 442798bbe5cd8de6e9b8b4a3830751353a62f562 (patch) | |
tree | bf4e1a6890447d86d2418489b40e9b8b20659ec7 /ext/soap/php_encoding.c | |
parent | 1f229c08512242c8e9a263774701f9678e36f447 (diff) | |
download | php-git-442798bbe5cd8de6e9b8b4a3830751353a62f562.tar.gz |
fixed compilation problem in php-4.3.2dev.
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index b450ebb149..3b4909f3d6 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -289,12 +289,13 @@ xmlNodePtr to_xml_string(encodeType type, zval *data, int style) xmlNodePtr ret; char *str, *pstr; int new_len; + TSRMLS_FETCH(); ret = xmlNewNode(NULL, "BOGUS"); FIND_ZVAL_NULL(data, ret); convert_to_string(data); - str = php_escape_html_entities(Z_STRVAL_P(data), Z_STRLEN_P(data), &new_len, 0, 0, NULL); + str = php_escape_html_entities(Z_STRVAL_P(data), Z_STRLEN_P(data), &new_len, 0, 0, NULL TSRMLS_CC); pstr = malloc(new_len + 1); memcpy(pstr, str, new_len); |