X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_parser.c;h=535a2b3849fd1b103aead321333e4104a00ba25c;hp=92c8e4073aad391bd5f25bb9c2be32605167af88;hb=cd3cad9da098f0dae2997dd6a52a907bfaaf6041;hpb=468e8d748d365811af4ce890fd8fc4c1f88cc08a diff --git a/php_http_message_parser.c b/php_http_message_parser.c index 92c8e40..535a2b3 100644 --- a/php_http_message_parser.c +++ b/php_http_message_parser.c @@ -596,7 +596,7 @@ static PHP_METHOD(HttpMessageParser, parse) size_t data_len; zend_long flags; - php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "slz", &data_str, &data_len, &flags, &zmsg), invalid_arg, return); + php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS(), "slz", &data_str, &data_len, &flags, &zmsg), invalid_arg, return); parser_obj = PHP_HTTP_OBJ(NULL, getThis()); php_http_buffer_append(&parser_obj->buffer, data_str, data_len); @@ -625,7 +625,7 @@ static PHP_METHOD(HttpMessageParser, stream) php_stream *s; zend_long flags; - php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &zstream, &flags, &zmsg), invalid_arg, return); + php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &zstream, &flags, &zmsg), invalid_arg, return); zend_replace_error_handling(EH_THROW, php_http_exception_unexpected_val_class_entry, &zeh); php_stream_from_zval(s, zstream);