mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 20:09:01 +08:00
Style: remove whitespace between function name and parentheses.
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
This commit is contained in:
parent
7e7589e746
commit
2cfcef5b42
@ -691,7 +691,7 @@ ngx_http_geoip_country(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
|
||||
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_command_t *cmd, void *conf)
|
||||
|
||||
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_command_t *cmd, void *conf)
|
||||
|
||||
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,
|
||||
|
@ -1645,7 +1645,7 @@ ngx_http_scgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
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;
|
||||
|
@ -1868,7 +1868,7 @@ ngx_http_uwsgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user