Mercurial > hg > ngx_http_bytes_filter_module
changeset 7:2e1eaf93e67e
Fix warnings.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 15 Jul 2008 06:19:09 +0400 |
parents | 91985471307e |
children | 60d65f2acaed |
files | ngx_http_bytes_filter_module.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ngx_http_bytes_filter_module.c Fri Jul 04 05:35:38 2008 +0400 +++ b/ngx_http_bytes_filter_module.c Tue Jul 15 06:19:09 2008 +0400 @@ -136,6 +136,9 @@ bad = 0; len = 0; + suffix = 0; + start = 0; + end = 0; while (p < last) { @@ -149,8 +152,6 @@ state = sw_last_byte_pos; break; } - suffix = 0; - start = 0; state = sw_first_byte_pos_n; /* fall through */