From 65e157fc937ac522327c9597f03edc23257102b6 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 25 Feb 2015 20:20:01 +0100 Subject: [PATCH] fix retval initialization --- php_http_header_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_header_parser.c b/php_http_header_parser.c index 3d3c427..f5b88f4 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_header_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) { -- 2.30.2