From 1d495291e434af3d8bb8d6ceaf5aa926dea065e9 Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 5 May 2007 18:28:32 +0000 Subject: filexfer warnings and messages. --- x11vnc/xevents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11vnc/xevents.c') diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index 3126a56..3948949 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -1422,7 +1422,8 @@ int get_keyboard_led_state_hook(rfbScreenInfoPtr s) { int get_file_transfer_permitted(rfbClientPtr cl) { allowed_input_t input; if (unixpw_in_progress) { - rfbLog("get_file_transfer_permitted: unixpw_in_progress, skipping.\n"); + rfbLog("get_file_transfer_permitted: unixpw_in_progress, dropping client.\n"); + rfbCloseClient(cl); return FALSE; } if (0) fprintf(stderr, "get_file_transfer_permitted called\n"); -- cgit v1.2.1