aboutsummaryrefslogtreecommitdiffstats
path: root/vnc.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-04 14:31:52 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-02-05 18:13:21 +0000
commitbca403c8b87557b37bc8a9ff6434da1e1993537b (patch)
treee9e16c980beeffdcb12a19637e039097459f97d7 /vnc.c
parent5e398dd2f075c23b54c913d71632b2deef8661a8 (diff)
vnc.c: remove dead code
to= is handled in qemu-sockets.c inet_listen. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vnc.c b/vnc.c
index 92facdec5..a49cff27b 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2537,7 +2537,6 @@ int vnc_display_open(DisplayState *ds, const char *display)
const char *options;
int password = 0;
int reverse = 0;
- int to_port = 0;
#ifdef CONFIG_VNC_TLS
int tls = 0, x509 = 0;
#endif
@@ -2563,8 +2562,6 @@ int vnc_display_open(DisplayState *ds, const char *display)
password = 1; /* Require password auth */
} else if (strncmp(options, "reverse", 7) == 0) {
reverse = 1;
- } else if (strncmp(options, "to=", 3) == 0) {
- to_port = atoi(options+3) + 5900;
#ifdef CONFIG_VNC_SASL
} else if (strncmp(options, "sasl", 4) == 0) {
sasl = 1; /* Require SASL auth */