[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)personal/stbuehler/tests-path
parent
71175df1c9
commit
cba6a1ab54
|
@ -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…
Reference in New Issue