mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge PR #872: Fix to show correct version in Server Manager GUI
This commit is contained in:
commit
270d9f1e0b
@ -1416,14 +1416,7 @@ void GetCedarVersion(char *tmp, UINT size)
|
||||
|
||||
UINT GetCedarVersionNumber()
|
||||
{
|
||||
UINT pow = 10;
|
||||
|
||||
while (CEDAR_VERSION_MAJOR >= pow)
|
||||
{
|
||||
pow *= 10;
|
||||
}
|
||||
|
||||
return CEDAR_VERSION_MAJOR * pow + CEDAR_VERSION_MINOR;
|
||||
return CEDAR_VERSION_MAJOR * 100 + CEDAR_VERSION_MINOR;
|
||||
}
|
||||
|
||||
// Create Cedar object
|
||||
|
Loading…
Reference in New Issue
Block a user