commit | 5b57d01365b67fbb6248652c8366a1b8068f9349 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Tue May 21 12:54:26 2013 +0400 |
committer | Ruslan Ermilov <ru@nginx.com> | Tue May 21 12:54:26 2013 +0400 |
tree | 75ebd9393faebd66dee35abf0df0beb2dc6971f6 | |
parent | 1b10a9adf8447145ac2607f16681340049409fc8 [diff] |
Upstream: made the assignment more obvious. No functional changes.
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 4183d9d..ae71a11 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -1701,7 +1701,7 @@ n = u->buffer.last - u->buffer.pos; if (n) { - u->buffer.last -= n; + u->buffer.last = u->buffer.pos; u->state->response_length += n;