From 331753c7763256e8cc788724b7b179f19301288c Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 1 Sep 2022 13:08:05 -0700 Subject: [PATCH] fix up if statement after cherry pick --- apps/wolfsshd/configuration.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/wolfsshd/configuration.c b/apps/wolfsshd/configuration.c index 3f54b2e5..8d4537f4 100644 --- a/apps/wolfsshd/configuration.c +++ b/apps/wolfsshd/configuration.c @@ -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])