diff options
author | Christian Beier <dontmind@freeshell.org> | 2011-11-09 19:20:10 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2011-11-09 19:20:10 +0100 |
commit | 7cb0e4a9a95886300268e1bff1e72b4c18f1b762 (patch) | |
tree | 6dba3ba9508e952a18706c7658aa5d0e528198f4 /libvncserver/httpd.c | |
parent | 4d3464236b5a0c9bc28e65ab11dfad8dbea3f4a0 (diff) | |
download | libtdevnc-7cb0e4a9a95886300268e1bff1e72b4c18f1b762.tar.gz libtdevnc-7cb0e4a9a95886300268e1bff1e72b4c18f1b762.zip |
novnc client: use the client's notion about the server hostname instead of what the server thinks.
Diffstat (limited to 'libvncserver/httpd.c')
-rw-r--r-- | libvncserver/httpd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index 3252fc6..3025aae 100644 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -431,10 +431,6 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen) sprintf(str, "%d", rfbScreen->port); rfbWriteExact(&cl, str, strlen(str)); - } else if (compareAndSkip(&ptr, "$HOST")) { - - rfbWriteExact(&cl, rfbScreen->thisHost, strlen(rfbScreen->thisHost)); - } else if (compareAndSkip(&ptr, "$DESKTOP")) { rfbWriteExact(&cl, rfbScreen->desktopName, strlen(rfbScreen->desktopName)); |