log socket number

This commit is contained in:
Igor Sysoev 2007-08-29 15:33:59 +00:00
parent 6f10471450
commit 1c98a2c5e9

View file

@ -735,7 +735,7 @@ ngx_close_connection(ngx_connection_t *c)
/* we use ngx_cycle->log because c->log was in c->pool */
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, ngx_socket_errno,
ngx_close_socket_n " failed");
ngx_close_socket_n " %d failed", fd);
}
}