aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_request_body.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index 77e92e3f4..e9562c0be 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -172,9 +172,6 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
b->file = &rb->temp_file->file;
rb->bufs = cl;
-
- } else {
- rb->bufs = NULL;
}
}
@@ -466,9 +463,6 @@ ngx_http_do_read_client_request_body(ngx_http_request_t *r)
b->file = &rb->temp_file->file;
rb->bufs = cl;
-
- } else {
- rb->bufs = NULL;
}
}