From f1e8149ae75eb7c0b08d4fde27bd164728cfdf68 Mon Sep 17 00:00:00 2001 From: runge Date: Fri, 16 Feb 2007 02:54:59 +0000 Subject: x11vnc: tightvnc filetransfer off by default. FINDCREATEDISPLAY geometry. --- x11vnc/connections.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11vnc/connections.c') diff --git a/x11vnc/connections.c b/x11vnc/connections.c index d9c47a8..ba6e3ac 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -658,7 +658,7 @@ void client_gone(rfbClientPtr client) { if (client == unixpw_client) { unixpw_in_progress = 0; screen->permitFileTransfer = unixpw_file_xfer_save; - if ((filexfer = unixpw_tightvnc_xfer_save)) { + if ((tightfilexfer = unixpw_tightvnc_xfer_save)) { #ifdef LIBVNCSERVER_WITH_TIGHTVNC_FILETRANSFER rfbRegisterTightVNCFileTransferExtension(); #endif @@ -2164,8 +2164,8 @@ enum rfbNewClientAction new_client(rfbClientPtr client) { unixpw_file_xfer_save = screen->permitFileTransfer; screen->permitFileTransfer = FALSE; - unixpw_tightvnc_xfer_save = filexfer; - filexfer = 0; + unixpw_tightvnc_xfer_save = tightfilexfer; + tightfilexfer = 0; #ifdef LIBVNCSERVER_WITH_TIGHTVNC_FILETRANSFER rfbUnregisterTightVNCFileTransferExtension(); #endif -- cgit v1.2.1