Backout 3f731241cb. It is a good idea, but has some unpleasant side effect... like SYSLOG and dbg() no longer work

This commit is contained in:
Gregory Nutt
2016-04-18 18:55:36 -06:00
parent 5997373b55
commit 6cfe56202d
7 changed files with 51 additions and 10 deletions
+12
View File
@@ -445,6 +445,18 @@ static inline int vnc_wait_server(int display)
result = g_fbstartup[display].result;
if (result != -EBUSY)
{
#ifdef CONFIG_DEBUG
if (result < 0)
{
DEBUGASSERT(g_vnc_sessions[display] == NULL);
gdbg("ERROR: VNC server startup failed: %d\n", result);
}
else
{
DEBUGASSERT(g_vnc_sessions[display] != NULL &&
g_vnc_sessions[display]->state == VNCSERVER_RUNNING);
}
#endif
return result;
}
}