# HG changeset patch # User Ruslan Ermilov # Date 1369126466 -14400 # Node ID 4a40163772a1de2ed160b3683ab083bb8d831add # Parent cfab1e7e4ac2f0d17199ee1d49ac4647b63746d3 Upstream: made the assignment more obvious. No functional changes. diff -r cfab1e7e4ac2 -r 4a40163772a1 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Thu May 16 15:37:13 2013 -0700 +++ b/src/http/ngx_http_upstream.c Tue May 21 12:54:26 2013 +0400 @@ -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;