Mercurial > hg > nginx
comparison src/core/ngx_connection.c @ 1220:91ae88fb2500
fix segfault
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 29 May 2007 16:33:34 +0000 |
parents | 18268abd340c |
children | d8d09f731c17 |
comparison
equal
deleted
inserted
replaced
1219:86c5c9288acc | 1220:91ae88fb2500 |
---|---|
404 if (ls[i].listen) { | 404 if (ls[i].listen) { |
405 if (listen(ls[i].fd, ls[i].backlog) == -1) { | 405 if (listen(ls[i].fd, ls[i].backlog) == -1) { |
406 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, | 406 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno, |
407 "changing the listen() backlog to %d " | 407 "changing the listen() backlog to %d " |
408 "for %V failed, ignored", | 408 "for %V failed, ignored", |
409 &ls[i].addr_text, ls[i].backlog); | 409 ls[i].backlog, &ls[i].addr_text); |
410 } | 410 } |
411 } | 411 } |
412 | 412 |
413 /* | 413 /* |
414 * setting deferred mode should be last operation on socket, | 414 * setting deferred mode should be last operation on socket, |