comparison ngx_http_compose_filter_module.c @ 5:fc206607251c

Fix compilation without debug.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 21 Jul 2008 05:34:36 +0400
parents 37c6f2e0f278
children 27628b3310ab
comparison
equal deleted inserted replaced
4:37c6f2e0f278 5:fc206607251c
166 if (header[i].key.len == sizeof("X-Compose-Length") - 1 166 if (header[i].key.len == sizeof("X-Compose-Length") - 1
167 && ngx_strncasecmp(header[i].key.data, "X-Compose-Length", 167 && ngx_strncasecmp(header[i].key.data, "X-Compose-Length",
168 sizeof("X-Compose-Length") - 1) 168 sizeof("X-Compose-Length") - 1)
169 == 0) 169 == 0)
170 { 170 {
171 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 171 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
172 "compose body filter: bingo, %V, %V", 172 "compose body filter: bingo, %V, %V",
173 &header[i].key, &header[i].value); 173 &header[i].key, &header[i].value);
174 174
175 header[i].hash = 0; 175 header[i].hash = 0;
176 176
186 if (header[i].key.len == sizeof("X-Compose") - 1 186 if (header[i].key.len == sizeof("X-Compose") - 1
187 && ngx_strncasecmp(header[i].key.data, "X-Compose", 187 && ngx_strncasecmp(header[i].key.data, "X-Compose",
188 sizeof("X-Compose") - 1) 188 sizeof("X-Compose") - 1)
189 == 0) 189 == 0)
190 { 190 {
191 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 191 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
192 "compose body filter: bingo, %V, %V", 192 "compose body filter: bingo, %V, %V",
193 &header[i].key, &header[i].value); 193 &header[i].key, &header[i].value);
194 194
195 header[i].hash = 0; 195 header[i].hash = 0;
196 196