This commit is contained in:
Nishi 2024-12-01 22:56:33 +09:00
parent 3af6cb142a
commit e72f831555
No known key found for this signature in database
GPG Key ID: BAEA61502BFD1F1C

View File

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