diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-11-28 15:15:33 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-11-28 15:15:33 -0500 |
commit | cba6a1ab54f063609922ea0085d6ba15ed77fa6f (patch) | |
tree | 32730493cf3b2b679265f655fcc97ac2f10d984f /src/mod_dirlisting.c | |
parent | 71175df1c98b5c58702c4a3a2155d5ed965e7561 (diff) | |
download | lighttpd-git-cba6a1ab54f063609922ea0085d6ba15ed77fa6f.tar.gz |
[mod_dirlisting] fix bug not showing HEADER.txt
(thx gsker)
fix bug not showing HEADER.txt or README.txt
(regression in lighttpd 1.4.60 and 1.4.61)
Diffstat (limited to 'src/mod_dirlisting.c')
-rw-r--r-- | src/mod_dirlisting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_dirlisting.c b/src/mod_dirlisting.c index 6e020b7c..7d58ecf4 100644 --- a/src/mod_dirlisting.c +++ b/src/mod_dirlisting.c @@ -596,7 +596,7 @@ static void http_list_directory_include_file(request_st * const r, const handler stat_cache_get_entry_open(path, r->conf.follow_symlink); if (len) buffer_truncate(&r->physical.path, len); - if (NULL == sce || sce->fd < 0 || 0 != sce->st.st_size) + if (NULL == sce || sce->fd < 0 || 0 == sce->st.st_size) return; chunkqueue * const cq = &r->write_queue; |