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

src/Cedar/Client.c: remove not needed condition

inspired by coverity (however, coverity does not see an issue here)
This commit is contained in:
Ilya Shipitsin 2018-09-17 16:35:22 +05:00
parent ca8b392dc6
commit f469e143fc

View File

@ -1868,8 +1868,6 @@ BEGIN_LISTENER:
// If the port cannot be opened // If the port cannot be opened
if (cn_next_allow <= Tick64()) if (cn_next_allow <= Tick64())
{
if (cursor_changed || cn_listener->Halt)
{ {
if (cursor_changed) if (cursor_changed)
{ {
@ -1889,7 +1887,6 @@ BEGIN_LISTENER:
} }
} }
} }
}
Unlock(cn_listener_lock); Unlock(cn_listener_lock);