VNC: Fix some backward logic in a wait loop
This commit is contained in:
parent
0d57612d13
commit
b7940e9389
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ static inline int vnc_wait_start(int display)
|
|||
*/
|
||||
|
||||
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
|
||||
* semaphore. In certain error situations, the server may post the
|
||||
|
|
Loading…
Reference in a new issue