1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Server.c: remove deactivated for() loop used to add test users to the default hub (#479)

Server.c: remove dead for() loop used to add test users to the default hub
This commit is contained in:
Davide Beatrici 2018-05-24 23:03:24 +02:00 committed by Moataz Elmasry
parent 0b8fcb75bc
commit 6ffb9db01b

View File

@ -2514,21 +2514,6 @@ void SiInitDefaultHubList(SERVER *s)
SiSetDefaultLogSetting(&g); SiSetDefaultLogSetting(&g);
SetHubLogSetting(h, &g); SetHubLogSetting(h, &g);
{
UINT i;
for (i = 0;i < 0;i++)
{
char tmp[MAX_SIZE];
USER *u;
sprintf(tmp, "user%u", i);
AcLock(h);
u = NewUser(tmp, L"test", L"", AUTHTYPE_ANONYMOUS, NULL);
AcAddUser(h, u);
ReleaseUser(u);
AcUnlock(h);
}
}
ReleaseHub(h); ReleaseHub(h);
} }