[nginx] Style.

Maxim Dounin mdounin at mdounin.ru
Fri Oct 18 14:16:03 UTC 2013


details:   http://hg.nginx.org/nginx/rev/4bfa982dbf0e
branches:  
changeset: 5426:4bfa982dbf0e
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Oct 18 18:13:35 2013 +0400
description:
Style.

diffstat:

 src/http/ngx_http_script.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -1394,7 +1394,7 @@ ngx_http_script_if_code(ngx_http_script_
 
     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);



More information about the nginx-devel mailing list