X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header_parser.c;h=2fbcb9394dbae1f5cd8761468ae4ff7799f988f4;hp=f5b88f412f627d796735a5a2ecd19e0c80d2aa6f;hb=6406f922bb9ba3a4a148a0c218c22491df8f07c0;hpb=65e157fc937ac522327c9597f03edc23257102b6 diff --git a/php_http_header_parser.c b/php_http_header_parser.c index f5b88f4..2fbcb93 100644 --- a/php_http_header_parser.c +++ b/php_http_header_parser.c @@ -115,7 +115,7 @@ static void php_http_header_parser_error(size_t valid_len, char *str, size_t len efree(escaped_str); } -STATUS php_http_header_parser_parse(php_http_header_parser_t *parser, php_http_buffer_t *buffer, unsigned flags, HashTable *headers, php_http_info_callback_t callback_func, void *callback_arg) +php_http_header_parser_state_t php_http_header_parser_parse(php_http_header_parser_t *parser, php_http_buffer_t *buffer, unsigned flags, HashTable *headers, php_http_info_callback_t callback_func, void *callback_arg) { TSRMLS_FETCH_FROM_CTX(parser->ts);