"parameter" Am 11.06.2013 07:15, schrieb liguang: > type last parameter of vnc_connect if bool,
"Type of last ...", "is" > so pass 'false' instead of '0' for it. > > Signed-off-by: liguang <lig.f...@cn.fujitsu.com> Michael, can you fix those up? Then, Reviewed-by: Andreas Färber <afaer...@suse.de> Thanks, Andreas > --- > ui/vnc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/ui/vnc.c b/ui/vnc.c > index dfc7459..7d22660 100644 > --- a/ui/vnc.c > +++ b/ui/vnc.c > @@ -3283,7 +3283,7 @@ void vnc_display_open(DisplayState *ds, const char > *display, Error **errp) > if (csock < 0) { > goto fail; > } > - vnc_connect(vs, csock, 0, 0); > + vnc_connect(vs, csock, 0, false); > } else { > /* listen for connects */ > char *dpy; > @@ -3345,5 +3345,5 @@ void vnc_display_add_client(DisplayState *ds, int > csock, int skipauth) > { > VncDisplay *vs = vnc_display; > > - vnc_connect(vs, csock, skipauth, 0); > + vnc_connect(vs, csock, skipauth, false); > } > -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg