comparison ngx_http_bytes_filter_module.c @ 7:2e1eaf93e67e

Fix warnings.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 15 Jul 2008 06:19:09 +0400
parents be5e612dd602
children 60d65f2acaed
comparison
equal deleted inserted replaced
6:91985471307e 7:2e1eaf93e67e
134 * but no whitespaces permitted 134 * but no whitespaces permitted
135 */ 135 */
136 136
137 bad = 0; 137 bad = 0;
138 len = 0; 138 len = 0;
139 suffix = 0;
140 start = 0;
141 end = 0;
139 142
140 while (p < last) { 143 while (p < last) {
141 144
142 switch (state) { 145 switch (state) {
143 146
147 p++; 150 p++;
148 suffix = 1; 151 suffix = 1;
149 state = sw_last_byte_pos; 152 state = sw_last_byte_pos;
150 break; 153 break;
151 } 154 }
152 suffix = 0;
153 start = 0;
154 state = sw_first_byte_pos_n; 155 state = sw_first_byte_pos_n;
155 156
156 /* fall through */ 157 /* fall through */
157 158
158 case sw_first_byte_pos_n: 159 case sw_first_byte_pos_n: