Mercurial > hg > nginx
comparison src/http/ngx_http_file_cache.c @ 8123:1c3b78d7cdc9
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 28 Jan 2023 05:20:23 +0300 |
parents | dd718d1cef3c |
children | f5515e727656 |
comparison
equal
deleted
inserted
replaced
8122:106328a70f4e | 8123:1c3b78d7cdc9 |
---|---|
1598 } | 1598 } |
1599 | 1599 |
1600 b->file_pos = c->body_start; | 1600 b->file_pos = c->body_start; |
1601 b->file_last = c->length; | 1601 b->file_last = c->length; |
1602 | 1602 |
1603 b->in_file = (c->length - c->body_start) ? 1: 0; | 1603 b->in_file = (c->length - c->body_start) ? 1 : 0; |
1604 b->last_buf = (r == r->main) ? 1: 0; | 1604 b->last_buf = (r == r->main) ? 1 : 0; |
1605 b->last_in_chain = 1; | 1605 b->last_in_chain = 1; |
1606 | 1606 |
1607 b->file->fd = c->file.fd; | 1607 b->file->fd = c->file.fd; |
1608 b->file->name = c->file.name; | 1608 b->file->name = c->file.name; |
1609 b->file->log = r->connection->log; | 1609 b->file->log = r->connection->log; |