Browse Source

[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)
master
Glenn Strauss 2 months ago
parent
commit
cba6a1ab54
  1. 2
      src/mod_dirlisting.c

2
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;

Loading…
Cancel
Save