Welcome! Log In Create A New Profile

Advanced

[nginx] Style: remove whitespace between function name and paren...

Maxim Dounin
July 08, 2014 09:50PM
details: http://hg.nginx.org/nginx/rev/f3df4e420ae7
branches:
changeset: 5758:f3df4e420ae7
user: Piotr Sikora <piotr@cloudflare.com>
date: Tue Jul 08 03:03:14 2014 -0700
description:
Style: remove whitespace between function name and parentheses.

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

diffstat:

src/http/modules/ngx_http_geoip_module.c | 6 +++---
src/http/modules/ngx_http_scgi_module.c | 2 +-
src/http/modules/ngx_http_uwsgi_module.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)

diffs (54 lines):

diff --git a/src/http/modules/ngx_http_geoip_module.c b/src/http/modules/ngx_http_geoip_module.c
--- a/src/http/modules/ngx_http_geoip_module.c
+++ b/src/http/modules/ngx_http_geoip_module.c
@@ -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 --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c
--- a/src/http/modules/ngx_http_scgi_module.c
+++ b/src/http/modules/ngx_http_scgi_module.c
@@ -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 --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Style: remove whitespace between function name and paren...

Maxim Dounin 536 July 08, 2014 09:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 320
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready