diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-05-05 13:05:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-05 13:05:42 +0000 |
commit | 682414f352a1f42dd791512cf6d42cc564a8662e (patch) | |
tree | 387e59f452da050df79125876951c3132cf39b02 /src/core/ngx_connection.c | |
parent | a8da6c2ae64f26cf02b488b86489beaec6fdd064 (diff) | |
download | nginx-682414f352a1f42dd791512cf6d42cc564a8662e.tar.gz nginx-682414f352a1f42dd791512cf6d42cc564a8662e.zip |
use local variable
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r-- | src/core/ngx_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 9fe6c19b8..9ec9c7d09 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -249,7 +249,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle) (const void *) &ipv6only, sizeof(int)) == -1) { - ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, + ngx_log_error(NGX_LOG_EMERG, log, ngx_socket_errno, "setsockopt(IPV6_V6ONLY) %V failed, ignored", &ls[i].addr_text); } @@ -273,7 +273,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle) } } - ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, + ngx_log_debug2(NGX_LOG_DEBUG_CORE, log, 0, "bind() %V #%d ", &ls[i].addr_text, s); if (bind(s, ls[i].sockaddr, ls[i].socklen) == -1) { |