summaryrefslogtreecommitdiffstats
path: root/x11vnc/unixpw.c
diff options
context:
space:
mode:
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