[nginx] Geo: fixed indentation.

Sergey Kandaurov pluknet at nginx.com
Thu Aug 25 10:00:36 UTC 2016


details:   http://hg.nginx.org/nginx/rev/3f82c1e7e29e
branches:  
changeset: 6666:3f82c1e7e29e
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Thu Aug 25 12:59:39 2016 +0300
description:
Geo: fixed indentation.

diffstat:

 src/http/modules/ngx_http_geo_module.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 8752257e883f -r 3f82c1e7e29e src/http/modules/ngx_http_geo_module.c
--- a/src/http/modules/ngx_http_geo_module.c	Wed Aug 24 15:53:17 2016 +0300
+++ b/src/http/modules/ngx_http_geo_module.c	Thu Aug 25 12:59:39 2016 +0300
@@ -819,7 +819,7 @@ ngx_http_geo_add_range(ngx_conf_t *cf, n
                 range = a->elts;
 
                 ngx_memmove(&range[i + 2], &range[i + 1],
-                           (a->nelts - 2 - i) * sizeof(ngx_http_geo_range_t));
+                            (a->nelts - 2 - i) * sizeof(ngx_http_geo_range_t));
 
                 range[i + 1].start = (u_short) s;
                 range[i + 1].end = (u_short) e;
@@ -858,7 +858,7 @@ ngx_http_geo_add_range(ngx_conf_t *cf, n
                 range = a->elts;
 
                 ngx_memmove(&range[i + 3], &range[i + 1],
-                           (a->nelts - 3 - i) * sizeof(ngx_http_geo_range_t));
+                            (a->nelts - 3 - i) * sizeof(ngx_http_geo_range_t));
 
                 range[i + 2].start = (u_short) (e + 1);
                 range[i + 2].end = range[i].end;
@@ -886,7 +886,7 @@ ngx_http_geo_add_range(ngx_conf_t *cf, n
                 range = a->elts;
 
                 ngx_memmove(&range[i + 1], &range[i],
-                           (a->nelts - 1 - i) * sizeof(ngx_http_geo_range_t));
+                            (a->nelts - 1 - i) * sizeof(ngx_http_geo_range_t));
 
                 range[i + 1].start = (u_short) (e + 1);
 
@@ -910,7 +910,7 @@ ngx_http_geo_add_range(ngx_conf_t *cf, n
                 range = a->elts;
 
                 ngx_memmove(&range[i + 2], &range[i + 1],
-                           (a->nelts - 2 - i) * sizeof(ngx_http_geo_range_t));
+                            (a->nelts - 2 - i) * sizeof(ngx_http_geo_range_t));
 
                 range[i + 1].start = (u_short) s;
                 range[i + 1].end = (u_short) e;
@@ -1002,7 +1002,7 @@ ngx_http_geo_delete_range(ngx_conf_t *cf
                 && e == (ngx_uint_t) range[i].end)
             {
                 ngx_memmove(&range[i], &range[i + 1],
-                           (a->nelts - 1 - i) * sizeof(ngx_http_geo_range_t));
+                            (a->nelts - 1 - i) * sizeof(ngx_http_geo_range_t));
 
                 a->nelts--;
 



More information about the nginx-devel mailing list