mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
28 lines
557 B
Diff
28 lines
557 B
Diff
--- src/Cedar/Server.c.orig 2023-08-14 17:05:58.000000000 +0800
|
|
+++ src/Cedar/Server.c 2023-08-14 17:09:40.000000000 +0800
|
|
@@ -10713,23 +10713,7 @@
|
|
//
|
|
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;
|
|
+ return false;
|
|
}
|
|
|
|
// Update the current region
|