From d43bee8ee939992404d59ae0fec248ce46abecb0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 20 Nov 2004 19:52:20 +0000 Subject: nginx-0.1.8-RELEASE import *) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive. --- src/core/ngx_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_connection.c') diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 06fd85cde..631cd4fa9 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -299,7 +299,7 @@ void ngx_close_listening_sockets(ngx_cycle_t *cycle) } } - if (ngx_close_socket(ls[i].fd) == -1) { + if (ngx_close_socket(fd) == -1) { ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, ngx_close_socket_n " %V failed", &ls[i].addr_text); } -- cgit