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.
This commit is contained in:
Valentin Bartenev 2016-01-12 19:19:07 +03:00
parent d0bf684ab6
commit 8a5df8c720

View File

@ -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;
}
}