Mercurial > hg > nginx
comparison src/http/modules/ngx_http_range_filter_module.c @ 4054:20c7c73d3efa
Style fix.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 30 Aug 2011 12:28:01 +0000 |
parents | c2a91088b0c0 |
children | 9cce506be97d |
comparison
equal
deleted
inserted
replaced
4035:c2a91088b0c0 | 4054:20c7c73d3efa |
---|---|
304 if (*p != ',' && *p != '\0') { | 304 if (*p != ',' && *p != '\0') { |
305 return NGX_HTTP_RANGE_NOT_SATISFIABLE; | 305 return NGX_HTTP_RANGE_NOT_SATISFIABLE; |
306 } | 306 } |
307 | 307 |
308 if (suffix) { | 308 if (suffix) { |
309 start = r->headers_out.content_length_n - end; | 309 start = r->headers_out.content_length_n - end; |
310 end = r->headers_out.content_length_n - 1; | 310 end = r->headers_out.content_length_n - 1; |
311 } | 311 } |
312 | 312 |
313 if (start > end) { | 313 if (start > end) { |
314 return NGX_HTTP_RANGE_NOT_SATISFIABLE; | 314 return NGX_HTTP_RANGE_NOT_SATISFIABLE; |
315 } | 315 } |