From: Ruslan Ermilov Date: Tue, 21 May 2013 08:54:26 +0000 (+0400) Subject: Upstream: made the assignment more obvious. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=5b57d01365b67fbb6248652c8366a1b8068f9349;p=nginx.git 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 4183d9d68..ae71a1196 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1701,7 +1701,7 @@ ngx_http_upstream_process_header(ngx_http_request_t *r, ngx_http_upstream_t *u) n = u->buffer.last - u->buffer.pos; if (n) { - u->buffer.last -= n; + u->buffer.last = u->buffer.pos; u->state->response_length += n;