X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header_parser.c;h=f4dcf95e9e63828d9b43db7accd9024e28d8cf82;hp=cf30c84c48bc5ba0be2415a9a5572224adcfa940;hb=e438aa9ce944f8c8f175554d9aa66d152a47f780;hpb=95c6c900d04096d332c422e3f597186b7184c5ab diff --git a/php_http_header_parser.c b/php_http_header_parser.c index cf30c84..f4dcf95 100644 --- a/php_http_header_parser.c +++ b/php_http_header_parser.c @@ -284,7 +284,7 @@ php_http_header_parser_state_t php_http_header_parser_parse(php_http_header_pars php_http_header_parser_state_t php_http_header_parser_parse_stream(php_http_header_parser_t *parser, php_http_buffer_t *buf, php_stream *s, unsigned flags, HashTable *headers, php_http_info_callback_t callback_func, void *callback_arg) { - php_http_message_parser_state_t state = PHP_HTTP_MESSAGE_PARSER_STATE_START; + php_http_header_parser_state_t state = PHP_HTTP_HEADER_PARSER_STATE_START; TSRMLS_FETCH_FROM_CTX(parser->ts); if (!buf->data) {