mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39: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:
parent
0b8fcb75bc
commit
6ffb9db01b
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user