mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
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:
parent
d0bf684ab6
commit
8a5df8c720
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue