fix up if statement after cherry pick

pull/449/head
JacobBarthelmeh 2022-09-01 13:08:05 -07:00
parent fb0d3ba3d1
commit 331753c776
1 changed files with 2 additions and 0 deletions

View File

@ -542,6 +542,7 @@ static int HandleInclude(WOLFSSHD_CONFIG *conf, const char *value)
#else
if (dir->d_type != DT_DIR)
#endif
{
fileCount++;
}
}
@ -567,6 +568,7 @@ static int HandleInclude(WOLFSSHD_CONFIG *conf, const char *value)
#else
if (dir->d_type != DT_DIR)
#endif
{
/* Insert in string order */
for (j = 0; j < i; j++) {
if (WSTRCMP(dir->d_name, fileNames[j])