X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=2935626ecfb4eff1483540cd63d4fbc5dbc310e5;hp=f4d32b202ef5a4313fe467a0d03db364543be8ad;hb=7610da74c78e8de1ba61bc22cef6c445472ea424;hpb=e9221ae5b72d1add77a6874595bbd0b98d0446a0 diff --git a/http_functions.c b/http_functions.c index f4d32b2..2935626 100644 --- a/http_functions.c +++ b/http_functions.c @@ -598,7 +598,7 @@ PHP_FUNCTION(http_split_response) RETURN_FALSE; } - convert_to_string_ex(&zresponse); + convert_to_string(zresponse); MAKE_STD_ZVAL(zbody); MAKE_STD_ZVAL(zheaders); @@ -608,7 +608,7 @@ PHP_FUNCTION(http_split_response) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not parse HTTP response"); RETURN_FALSE; } - + array_init(return_value); add_index_zval(return_value, 0, zheaders); add_index_zval(return_value, 1, zbody);