Re: [Qemu-devel] [PATCH 1/3] vnc: Don't assert if opening unix socket fails

2015-05-05 Thread Gerd Hoffmann
On Mi, 2015-04-29 at 12:37 -0400, Cole Robinson wrote: > +if (vs->lsock < 0) > +goto fail; fails checkpatch.pl

[Qemu-devel] [PATCH 1/3] vnc: Don't assert if opening unix socket fails

2015-04-29 Thread Cole Robinson
Reproducer: $ qemu-system-x86_64 -display vnc=unix:/root/i-cant-access-you.sock qemu-system-x86_64: iohandler.c:60: qemu_set_fd_handler2: Assertion `fd >= 0' failed. Aborted (core dumped) Signed-off-by: Cole Robinson --- ui/vnc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/vnc.c b