Mercurial > hg > nginx-vendor-1-0
diff src/os/unix/ngx_channel.c @ 14:8a529698ed55 NGINX_0_1_7
nginx 0.1.7
*) Bugfix: on FreeBSD the segmentation fault may occur if the size of
the transferred file was changed; bug appeared in 0.1.5.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 12 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 6f8b0dc0f8dd |
line wrap: on
line diff
--- a/src/os/unix/ngx_channel.c +++ b/src/os/unix/ngx_channel.c @@ -233,10 +233,10 @@ ngx_int_t ngx_add_channel_event(ngx_cycl void ngx_close_channel(ngx_fd_t *fd, ngx_log_t *log) { if (close(fd[0]) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "close() failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "close() channel failed"); } if (close(fd[1]) == -1) { - ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "close() failed"); + ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "close() channel failed"); } }