[PATCH 2 of 5] Style: remove whitespace between function name and parentheses

Piotr Sikora piotr at cloudflare.com
Tue Jul 8 10:06:18 UTC 2014


# HG changeset patch
# User Piotr Sikora <piotr at cloudflare.com>
# Date 1404813794 25200
#      Tue Jul 08 03:03:14 2014 -0700
# Node ID b478fc52fb96a20d72dba1b46ebcaaf24c7356d2
# Parent  e00ca08c44e1e410e9a0ff3492b9419a2f32d80a
Style: remove whitespace between function name and parentheses.

Signed-off-by: Piotr Sikora <piotr at cloudflare.com>

diff -r e00ca08c44e1 -r b478fc52fb96 src/http/modules/ngx_http_geoip_module.c
--- a/src/http/modules/ngx_http_geoip_module.c	Tue Jul 08 03:03:13 2014 -0700
+++ b/src/http/modules/ngx_http_geoip_module.c	Tue Jul 08 03:03:14 2014 -0700
@@ -691,7 +691,7 @@ ngx_http_geoip_country(ngx_conf_t *cf, n
 
     if (cf->args->nelts == 3) {
         if (ngx_strcmp(value[2].data, "utf8") == 0) {
-            GeoIP_set_charset (gcf->country, GEOIP_CHARSET_UTF8);
+            GeoIP_set_charset(gcf->country, GEOIP_CHARSET_UTF8);
 
         } else {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
@@ -746,7 +746,7 @@ ngx_http_geoip_org(ngx_conf_t *cf, ngx_c
 
     if (cf->args->nelts == 3) {
         if (ngx_strcmp(value[2].data, "utf8") == 0) {
-            GeoIP_set_charset (gcf->org, GEOIP_CHARSET_UTF8);
+            GeoIP_set_charset(gcf->org, GEOIP_CHARSET_UTF8);
 
         } else {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
@@ -807,7 +807,7 @@ ngx_http_geoip_city(ngx_conf_t *cf, ngx_
 
     if (cf->args->nelts == 3) {
         if (ngx_strcmp(value[2].data, "utf8") == 0) {
-            GeoIP_set_charset (gcf->city, GEOIP_CHARSET_UTF8);
+            GeoIP_set_charset(gcf->city, GEOIP_CHARSET_UTF8);
 
         } else {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
diff -r e00ca08c44e1 -r b478fc52fb96 src/http/modules/ngx_http_scgi_module.c
--- a/src/http/modules/ngx_http_scgi_module.c	Tue Jul 08 03:03:13 2014 -0700
+++ b/src/http/modules/ngx_http_scgi_module.c	Tue Jul 08 03:03:14 2014 -0700
@@ -1645,7 +1645,7 @@ ngx_http_scgi_pass(ngx_conf_t *cf, ngx_c
         return "is duplicate";
     }
 
-    clcf = ngx_http_conf_get_module_loc_conf (cf, ngx_http_core_module);
+    clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
     clcf->handler = ngx_http_scgi_handler;
 
     value = cf->args->elts;
diff -r e00ca08c44e1 -r b478fc52fb96 src/http/modules/ngx_http_uwsgi_module.c
--- a/src/http/modules/ngx_http_uwsgi_module.c	Tue Jul 08 03:03:13 2014 -0700
+++ b/src/http/modules/ngx_http_uwsgi_module.c	Tue Jul 08 03:03:14 2014 -0700
@@ -1868,7 +1868,7 @@ ngx_http_uwsgi_pass(ngx_conf_t *cf, ngx_
         return "is duplicate";
     }
 
-    clcf = ngx_http_conf_get_module_loc_conf (cf, ngx_http_core_module);
+    clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
     clcf->handler = ngx_http_uwsgi_handler;
 
     value = cf->args->elts;



More information about the nginx-devel mailing list