From 776420f3d29f2ab1b83a44b83eadc53e663664f9 Mon Sep 17 00:00:00 2001 From: Nathan Miller Date: Sat, 20 Apr 2024 13:25:16 -0700 Subject: [PATCH] remove use of stricmp bc its not available on POSIX systems (windows only) --- OdbDesignServer/Controllers/DesignsController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OdbDesignServer/Controllers/DesignsController.cpp b/OdbDesignServer/Controllers/DesignsController.cpp index 62ddb973..8390f70f 100644 --- a/OdbDesignServer/Controllers/DesignsController.cpp +++ b/OdbDesignServer/Controllers/DesignsController.cpp @@ -172,7 +172,8 @@ namespace Odb::App::Server auto szExcludeFileArchive = req.url_params.get(kszExcludeFileArchiveQueryParamName); if (szExcludeFileArchive != nullptr) { - if (stricmp(szExcludeFileArchive, "true") == 0) + if (std::strcmp(szExcludeFileArchive, "true") == 0 || + std::strcmp(szExcludeFileArchive, "yes") == 0) { excludeFileArchive = true; }