VNC: Fix some backward logic in a wait loop
This commit is contained in:
parent
0d57612d13
commit
b7940e9389
@ -489,7 +489,7 @@ static inline int vnc_wait_start(int display)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
while (g_vnc_sessions[display] == NULL ||
|
while (g_vnc_sessions[display] == NULL ||
|
||||||
g_vnc_sessions[display]->state != VNCSERVER_UNINITIALIZED)
|
g_vnc_sessions[display]->state == VNCSERVER_UNINITIALIZED)
|
||||||
{
|
{
|
||||||
/* The server is not yet running. Wait for the server to post the FB
|
/* The server is not yet running. Wait for the server to post the FB
|
||||||
* semaphore. In certain error situations, the server may post the
|
* semaphore. In certain error situations, the server may post the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user