1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 11:55:08 +03:00

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

This commit is contained in:
Davide Beatrici 2018-05-24 23:01:03 +02:00
parent b59697fbd4
commit d646cb16d9

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);
} }