# HG changeset patch # User Ruslan Ermilov # Date 1369126466 -14400 # Node ID 4a40163772a1de2ed160b3683ab083bb8d831add # Parent cfab1e7e4ac2f0d17199ee1d49ac4647b63746d3 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 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1701,7 +1701,7 @@ ngx_http_upstream_process_header(ngx_htt n = u->buffer.last - u->buffer.pos; if (n) { - u->buffer.last -= n; + u->buffer.last = u->buffer.pos; u->state->response_length += n;