summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_realip_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
committerRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
commit7ad57da59821294255610545b2b5ce07e74124a5 (patch)
tree91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/http/modules/ngx_http_realip_module.c
parentdfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff)
downloadnginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.gz
nginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.bz2
Style.
Diffstat (limited to 'src/http/modules/ngx_http_realip_module.c')
-rw-r--r--src/http/modules/ngx_http_realip_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_realip_module.c b/src/http/modules/ngx_http_realip_module.c
index c3d7ebec8..b7befe6cb 100644
--- a/src/http/modules/ngx_http_realip_module.c
+++ b/src/http/modules/ngx_http_realip_module.c
@@ -328,8 +328,8 @@ ngx_http_realip_from(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
#if (NGX_HAVE_UNIX_DOMAIN)
if (ngx_strcmp(value[1].data, "unix:") == 0) {
- cidr->family = AF_UNIX;
- return NGX_CONF_OK;
+ cidr->family = AF_UNIX;
+ return NGX_CONF_OK;
}
#endif