vnc: use booleans for vnc_connect, vnc_listen_read and vnc_display_add_client
commit2c8cf549571bbe0b245fc4f9680e1dbde39a015c
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 11 Jun 2013 11:42:44 +0000 (11 15:42 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 21 Jun 2013 18:52:50 +0000 (21 22:52 +0400)
tree9c0b341f760c7e2c377abbe6ce1dc02f68536191
parent1984745ea8ad309a06690a83e91d031d21d709ff
vnc: use booleans for vnc_connect, vnc_listen_read and vnc_display_add_client

Some arguments to these functions are booleans - either by declaration,
or by actual usage, but sometimes value of 0 or 1 is passed for a bool,
and sometimes it is declared as int but a bool value, or true/false,
is passed to it instead.  Clean it up a bit.

Cc: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/ui/console.h
ui/vnc.c