summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c3
1 files changed, 2 insertions, 1 deletions
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");