]> git.kaiwu.me - nginx.git/commitdiff
Style.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Oct 2013 14:13:35 +0000 (18:13 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 18 Oct 2013 14:13:35 +0000 (18:13 +0400)
src/http/ngx_http_script.c

index 5fc4cfca0fb60b7aecd0bbbff1ad8b00595a53da..02e2be3bb80a17527d9a7a4b61bebf4a460a9f66 100644 (file)
@@ -1394,7 +1394,7 @@ ngx_http_script_if_code(ngx_http_script_engine_t *e)
 
     e->sp--;
 
-    if (e->sp->len && (e->sp->len !=1 || e->sp->data[0] != '0')) {
+    if (e->sp->len && (e->sp->len != 1 || e->sp->data[0] != '0')) {
         if (code->loc_conf) {
             e->request->loc_conf = code->loc_conf;
             ngx_http_update_location_config(e->request);