Mercurial > hg > nginx
diff src/http/modules/ngx_http_static_module.c @ 8123:1c3b78d7cdc9
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 28 Jan 2023 05:20:23 +0300 |
parents | d26db4f82d7d |
children | f5515e727656 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_static_module.c Sat Jan 28 01:29:45 2023 +0300 +++ b/src/http/modules/ngx_http_static_module.c Sat Jan 28 05:20:23 2023 +0300 @@ -265,8 +265,8 @@ b->file_pos = 0; b->file_last = of.size; - b->in_file = b->file_last ? 1: 0; - b->last_buf = (r == r->main) ? 1: 0; + b->in_file = b->file_last ? 1 : 0; + b->last_buf = (r == r->main) ? 1 : 0; b->last_in_chain = 1; b->file->fd = of.fd;