diff options
author | runge <runge> | 2007-02-16 02:54:59 +0000 |
---|---|---|
committer | runge <runge> | 2007-02-16 02:54:59 +0000 |
commit | f1e8149ae75eb7c0b08d4fde27bd164728cfdf68 (patch) | |
tree | 0ef2e59420b8d15d90bc61cddb92169acf479060 /x11vnc/connections.c | |
parent | 241f3ed566d34bf5b6c67ebebcc00727134d93b2 (diff) | |
download | libtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.tar.gz libtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.zip |
x11vnc: tightvnc filetransfer off by default. FINDCREATEDISPLAY geometry.
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r-- | x11vnc/connections.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |