aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2016-01-12 19:19:07 +0300
committerValentin Bartenev <vbart@nginx.com>2016-01-12 19:19:07 +0300
commit8a5df8c720a0b5e773bc852779f542ffa66e7061 (patch)
treecbbffdbc99074c3ff3f20cec189f5178e983d7b8 /src
parentd0bf684ab6643edc18ab65e2c40bf88862ead8e5 (diff)
downloadnginx-8a5df8c720a0b5e773bc852779f542ffa66e7061.tar.gz
nginx-8a5df8c720a0b5e773bc852779f542ffa66e7061.zip
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.
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;
}
}