From: Michael Wallner Date: Fri, 15 Nov 2013 11:18:32 +0000 (+0000) Subject: fix clang warning X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=975cb208a4711c01261dd76630ef793efd1294fa;p=m6w6%2Fext-http fix clang warning --- 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;