mirror of
https://github.com/nginx/nginx.git
synced 2026-05-13 09:36:42 +00:00
fix testing, the bug has been introduced in r3218
This commit is contained in:
parent
5fffff997f
commit
21dba41f5b
1 changed files with 2 additions and 2 deletions
|
|
@ -3005,8 +3005,8 @@ ngx_http_core_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||
(void) ngx_sock_ntop(&lsopt.u.sockaddr, lsopt.addr,
|
||||
NGX_SOCKADDR_STRLEN, 1);
|
||||
|
||||
if (ngx_http_add_listen(cf, conf, &lsopt) == NGX_OK) {
|
||||
return NGX_CONF_OK;
|
||||
if (ngx_http_add_listen(cf, conf, &lsopt) != NGX_OK) {
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue