mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 19:42:39 +08: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
@ -172,9 +172,6 @@ ngx_http_read_client_request_body(ngx_http_request_t *r,
|
|||||||
b->file = &rb->temp_file->file;
|
b->file = &rb->temp_file->file;
|
||||||
|
|
||||||
rb->bufs = cl;
|
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;
|
b->file = &rb->temp_file->file;
|
||||||
|
|
||||||
rb->bufs = cl;
|
rb->bufs = cl;
|
||||||
|
|
||||||
} else {
|
|
||||||
rb->bufs = NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user