Klaus Demo nginx / 682414f
use local variable Igor Sysoev 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
248248 (const void *) &ipv6only, sizeof(int))
249249 == -1)
250250 {
251 ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno,
251 ngx_log_error(NGX_LOG_EMERG, log, ngx_socket_errno,
252252 "setsockopt(IPV6_V6ONLY) %V failed, ignored",
253253 &ls[i].addr_text);
254254 }
272272 }
273273 }
274274
275 ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0,
275 ngx_log_debug2(NGX_LOG_DEBUG_CORE, log, 0,
276276 "bind() %V #%d ", &ls[i].addr_text, s);
277277
278278 if (bind(s, ls[i].sockaddr, ls[i].socklen) == -1) {