X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_parser.c;h=d6e7c260b57cc12f2326333d8d3d9baad1ad6799;hp=cc29c288b8521a7605a3d4c7d5a7c37918e4d336;hb=975cb208a4711c01261dd76630ef793efd1294fa;hpb=197ec2a4bd9709453944ce157825f6d36e28fe5b 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;