mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
src/Cedar/SW.c: treat "0" build as legitimate
installers built for PR have "0" build. let us treat them as legitimate
This commit is contained in:
parent
101d79d7c3
commit
37b5644291
@ -4005,11 +4005,6 @@ SW_LOGFILE *SwLoadLogFile(SW *sw, wchar_t *filename)
|
|||||||
CfgGetStr(info, "ComponentName", component_name, sizeof(component_name));
|
CfgGetStr(info, "ComponentName", component_name, sizeof(component_name));
|
||||||
build = CfgGetInt(info, "Build");
|
build = CfgGetInt(info, "Build");
|
||||||
|
|
||||||
if (build == 0)
|
|
||||||
{
|
|
||||||
goto LABEL_CLEANUP;
|
|
||||||
}
|
|
||||||
|
|
||||||
c = SwFindComponent(sw, component_name);
|
c = SwFindComponent(sw, component_name);
|
||||||
if (c == NULL)
|
if (c == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user