From 723e6cc248470b95f62e338cd5e1a6514975f9cc Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 25 Oct 2004 15:29:23 +0000 Subject: nginx-0.1.3-RELEASE import *) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. --- src/core/ngx_garbage_collector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_garbage_collector.c') diff --git a/src/core/ngx_garbage_collector.c b/src/core/ngx_garbage_collector.c index d73ca959f..73f9cc143 100644 --- a/src/core/ngx_garbage_collector.c +++ b/src/core/ngx_garbage_collector.c @@ -153,7 +153,7 @@ static int ngx_collect_garbage(ngx_gc_t *ctx, ngx_str_t *dname, int level) ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->log, 0, "gc path: \"%s\"", fname.data); - if (!dir.info_valid) { + if (!dir.valid_info) { if (ngx_de_info(fname.data, &dir) == NGX_FILE_ERROR) { ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno, ngx_de_info_n " \"%s\" failed", fname.data); -- cgit v1.2.3