diff options
Diffstat (limited to 'src/core/ngx_buf.c')
-rw-r--r-- | src/core/ngx_buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_buf.c b/src/core/ngx_buf.c index 72b558bc8..a536c04de 100644 --- a/src/core/ngx_buf.c +++ b/src/core/ngx_buf.c @@ -152,7 +152,8 @@ void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, continue; } - (*busy)->buf->pos = (*busy)->buf->last = (*busy)->buf->start; + (*busy)->buf->pos = (*busy)->buf->start; + (*busy)->buf->last = (*busy)->buf->start; tl = *busy; *busy = (*busy)->next; |