From 1776a3a55f59052bd69509c889e4370973305f0d Mon Sep 17 00:00:00 2001 From: runge Date: Thu, 8 Jun 2006 23:06:26 +0000 Subject: x11vnc: -display WAIT:..., -users unixpw=, su_verify dpy command. --- x11vnc/cleanup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11vnc/cleanup.c') diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index f162b37..0d5926e 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -155,7 +155,7 @@ void clean_up_exit (int ret) { } #endif /* XXX rdpy_ctrl, etc. cannot close w/o blocking */ - XCloseDisplay(dpy); + XCloseDisplay_wr(dpy); X_UNLOCK; fflush(stderr); @@ -311,6 +311,7 @@ static void crash_shell(void) { crash_shell_help(); } else if (*str == 's' && *(str+1) == '\0') { sprintf(cmd, "sh -c '(%s) &'", crash_stack_command1); + /* crash */ if (no_external_cmds) { fprintf(stderr, "\nno_external_cmds=%d\n", no_external_cmds); -- cgit v1.2.1