summaryrefslogtreecommitdiffstats
path: root/x11vnc/unixpw.c
diff options
context:
space:
mode:
authorrunge <runge>2007-02-16 02:54:59 +0000
committerrunge <runge>2007-02-16 02:54:59 +0000
commitf1e8149ae75eb7c0b08d4fde27bd164728cfdf68 (patch)
tree0ef2e59420b8d15d90bc61cddb92169acf479060 /x11vnc/unixpw.c
parent241f3ed566d34bf5b6c67ebebcc00727134d93b2 (diff)
downloadlibtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.tar.gz
libtdevnc-f1e8149ae75eb7c0b08d4fde27bd164728cfdf68.zip
x11vnc: tightvnc filetransfer off by default. FINDCREATEDISPLAY geometry.
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r--x11vnc/unixpw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index ceb0b8f..cc4a208 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -1553,7 +1553,7 @@ void unixpw_accept(char *user) {
}
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
@@ -1599,7 +1599,7 @@ void unixpw_deny(void) {
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