1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +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:
Ilya Shipitcin 2021-08-01 12:26:51 +05:00
parent 101d79d7c3
commit 37b5644291

View File

@ -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)
{ {