Created
February 26, 2024 18:14
-
-
Save libnumafly/f9a2077d7a126e44d0fb8a50e3aa6bb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Cedar/Server.c b/src/Cedar/Server.c | |
index 1aad0d9..af631eb 100644 | |
--- a/src/Cedar/Server.c | |
+++ b/src/Cedar/Server.c | |
@@ -10749,23 +10749,7 @@ void SiGetCurrentRegion(CEDAR *c, char *region, UINT region_size) | |
// | |
bool SiIsEnterpriseFunctionsRestrictedOnOpenSource(CEDAR *c) | |
{ | |
- char region[128]; | |
- bool ret = false; | |
- // Validate arguments | |
- if (c == NULL) | |
- { | |
return false; | |
- } | |
- | |
- | |
- SiGetCurrentRegion(c, region, sizeof(region)); | |
- | |
- if (StrCmpi(region, "JP") == 0 || StrCmpi(region, "CN") == 0) | |
- { | |
- ret = true; | |
- } | |
- | |
- return ret; | |
} | |
// Update the current region |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment