aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index dfe6eff70..26e833f40 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -932,7 +932,8 @@ ngx_http_add_address(ngx_conf_t *cf, ngx_http_conf_in_port_t *in_port,
if (in_port->addrs.elts == NULL) {
if (ngx_array_init(&in_port->addrs, cf->temp_pool, 4,
- sizeof(ngx_http_conf_in_addr_t)) != NGX_OK)
+ sizeof(ngx_http_conf_in_addr_t))
+ != NGX_OK)
{
return NGX_ERROR;
}
@@ -981,7 +982,8 @@ ngx_http_add_names(ngx_conf_t *cf, ngx_http_conf_in_addr_t *in_addr,
if (in_addr->names.elts == NULL) {
if (ngx_array_init(&in_addr->names, cf->temp_pool, 4,
- sizeof(ngx_http_server_name_t)) != NGX_OK)
+ sizeof(ngx_http_server_name_t))
+ != NGX_OK)
{
return NGX_ERROR;
}