Mercurial > hg > nginx
diff src/http/ngx_http_request_body.c @ 6336:02abce4764b7
Request body: removed surplus assigment, no functional changes.
Setting rb->bufs to NULL is surplus after ngx_http_write_request_body()
has returned NGX_OK.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 12 Jan 2016 19:19:07 +0300 |
parents | 257b51c37c5a |
children | 3b9fe734a76c |
line wrap: on
line diff
--- 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_ht 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 b->file = &rb->temp_file->file; rb->bufs = cl; - - } else { - rb->bufs = NULL; } }