aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_index_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-14 16:52:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-14 16:52:04 +0000
commit297c0487518d4b974a548dfd3d5d2f10c250177c (patch)
tree16667b611d5e4f4e88abd7d920fe20e0a7066b65 /src/http/modules/ngx_http_index_handler.c
parent7f9d894e1069306f7361201a77efbe7b866024ff (diff)
downloadnginx-297c0487518d4b974a548dfd3d5d2f10c250177c.tar.gz
nginx-297c0487518d4b974a548dfd3d5d2f10c250177c.zip
nginx-0.0.1-2003-11-14-19:52:04 import
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.c')
-rw-r--r--src/http/modules/ngx_http_index_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c
index f4c7157ac..989de0051 100644
--- a/src/http/modules/ngx_http_index_handler.c
+++ b/src/http/modules/ngx_http_index_handler.c
@@ -219,7 +219,7 @@ ngx_log_debug(r->connection->log, "IS_DIR: %s" _ r->path.data);
r->path.data[r->path.len - 1] = '/';
- if (ngx_is_dir(r->file.info)) {
+ if (ngx_is_dir((&r->file.info))) {
return NGX_OK;
}