comparison src/http/modules/ngx_http_index_handler.c @ 185:d5f50cefc322

nginx-0.0.1-2003-11-14-19:52:04 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 14 Nov 2003 16:52:04 +0000
parents 4db54fdbcbe7
children c1f3a3c7c5db
comparison
equal deleted inserted replaced
184:1bf718ce0dde 185:d5f50cefc322
217 return NGX_HTTP_INTERNAL_SERVER_ERROR; 217 return NGX_HTTP_INTERNAL_SERVER_ERROR;
218 } 218 }
219 219
220 r->path.data[r->path.len - 1] = '/'; 220 r->path.data[r->path.len - 1] = '/';
221 221
222 if (ngx_is_dir(r->file.info)) { 222 if (ngx_is_dir((&r->file.info))) {
223 return NGX_OK; 223 return NGX_OK;
224 } 224 }
225 225
226 /* THINK: not reached ??? */ 226 /* THINK: not reached ??? */
227 return ngx_http_index_error(r, ctx, 0); 227 return ngx_http_index_error(r, ctx, 0);