From 975cb208a4711c01261dd76630ef793efd1294fa Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 15 Nov 2013 11:18:32 +0000 Subject: [PATCH] fix clang warning --- php_http_message_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_message_parser.c b/php_http_message_parser.c index cc29c28..d6e7c26 100644 --- a/php_http_message_parser.c +++ b/php_http_message_parser.c @@ -451,7 +451,7 @@ PHP_HTTP_API php_http_message_parser_state_t php_http_message_parser_parse(php_h size_t dec_len; if (SUCCESS != php_http_encoding_stream_update(parser->dechunk, buffer->data, buffer->used, &dec_str, &dec_len)) { - return FAILURE; + return PHP_HTTP_MESSAGE_PARSER_STATE_FAILURE; } str = dec_str; -- 2.30.2