Merge branch 'master' into phpng
[m6w6/ext-http] / php_http_header_parser.c
index cf30c84c48bc5ba0be2415a9a5572224adcfa940..f4dcf95e9e63828d9b43db7accd9024e28d8cf82 100644 (file)
@@ -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) {