X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header_parser.c;h=3d3c4276683a284debb93e8e927e27127bc3bd33;hp=cea2dbfa67e5a5e09e535327241cfe8f81032fce;hb=57ed9486d7319313c041f0659d0b290de8371355;hpb=30d7c1182b3af0e59277b52fe9e770743c265a74 diff --git a/php_http_header_parser.c b/php_http_header_parser.c index cea2dbf..3d3c427 100644 --- a/php_http_header_parser.c +++ b/php_http_header_parser.c @@ -289,7 +289,7 @@ STATUS php_http_header_parser_parse(php_http_header_parser_t *parser, php_http_b 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_MESSAGE_PARSER_STATE_START; TSRMLS_FETCH_FROM_CTX(parser->ts); if (!buf->data) {