mirror of
https://github.com/NishiOwO/tkwww.git
synced 2025-04-22 01:04:40 +00:00
fix
This commit is contained in:
parent
3af6cb142a
commit
e72f831555
@ -140,7 +140,7 @@ PRIVATE HTList * dir_matches ARGS1(char *, path)
|
||||
!strcmp(dirbuf->d_name,"..") ||
|
||||
!strcmp(dirbuf->d_name,".www_browsable"))
|
||||
continue;
|
||||
if ((int)(dirbuf->d_namlen) >= baselen) {
|
||||
if ((int)strlen(dirbuf->d_name) >= baselen) {
|
||||
n = HTSplitFilename(dirbuf->d_name, actual);
|
||||
if (multi_match(required, m, actual, n)) {
|
||||
HTContentDescription * cd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user