From b4122a7e64600c90994ba36731af9844d2428291 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 17 Feb 2015 15:09:21 +0100 Subject: [PATCH] remove dead code --- php_http_message_body.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/php_http_message_body.c b/php_http_message_body.c index ab1ec29..de2693c 100644 --- a/php_http_message_body.c +++ b/php_http_message_body.c @@ -486,11 +486,8 @@ static size_t splitbody(void *opaque, char *buf, size_t len TSRMLS_DC) } if (!first_boundary) { - int st; /* this is not the first boundary, read rest of this message */ php_http_buffer_append(&arg->buf, buf, real_boundary - buf); - st=php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); - //fprintf(stderr, "1 st=%d\n",st); } /* move after the boundary */ @@ -530,11 +527,9 @@ static size_t splitbody(void *opaque, char *buf, size_t len TSRMLS_DC) /* let there be room for the next boundary */ if (len > arg->boundary_len) { - int st; consumed += len - arg->boundary_len; php_http_buffer_append(&arg->buf, buf, len - arg->boundary_len); - st=php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); - //fprintf(stderr, "2 st=%d\n", st); + php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); } arg->consumed += consumed; -- 2.30.2