mirror of https://github.com/wolfSSL/wolfssh.git
fix up if statement after cherry pick
parent
fb0d3ba3d1
commit
331753c776
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue