Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 5426:4bfa982dbf0e
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 18 Oct 2013 18:13:35 +0400 |
parents | e04083b79335 |
children | 2cd019520210 |
comparison
equal
deleted
inserted
replaced
5425:1356a3b96924 | 5426:4bfa982dbf0e |
---|---|
1392 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, | 1392 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, |
1393 "http script if"); | 1393 "http script if"); |
1394 | 1394 |
1395 e->sp--; | 1395 e->sp--; |
1396 | 1396 |
1397 if (e->sp->len && (e->sp->len !=1 || e->sp->data[0] != '0')) { | 1397 if (e->sp->len && (e->sp->len != 1 || e->sp->data[0] != '0')) { |
1398 if (code->loc_conf) { | 1398 if (code->loc_conf) { |
1399 e->request->loc_conf = code->loc_conf; | 1399 e->request->loc_conf = code->loc_conf; |
1400 ngx_http_update_location_config(e->request); | 1400 ngx_http_update_location_config(e->request); |
1401 } | 1401 } |
1402 | 1402 |