redirects of dirs into other resources, while still treating such a
resource as a dir, based on the original apr_dir_read results.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92638
13f79535-47bb-0310-9956-
ffa450edef68
}
p = (struct ent *) apr_pcalloc(r->pool, sizeof(struct ent));
- if (rr->finfo.filetype == APR_DIR) {
+ if (dirent->filetype == APR_DIR) {
p->name = apr_pstrcat(r->pool, dirent->name, "/", NULL);
}
else {
if (autoindex_opts & (FANCY_INDEXING | TABLE_INDEXING)) {
p->lm = rr->finfo.mtime;
- if (rr->finfo.filetype == APR_DIR) {
+ if (dirent->filetype == APR_DIR) {
if (autoindex_opts & FOLDERS_FIRST) {
p->isdir = 1;
}