From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v2 RESEND 4/5] vnc.c: remove dead code
Date: Thu, 4 Feb 2010 14:31:52 +0100 [thread overview]
Message-ID: <1265290313-31738-5-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1265290313-31738-1-git-send-email-pbonzini@redhat.com>
to= is handled in qemu-sockets.c inet_listen.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
vnc.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/vnc.c b/vnc.c
index 92facde..a49cff2 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 */
--
1.6.6
next prev parent reply other threads:[~2010-02-04 13:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 13:31 [Qemu-devel] [PATCH v2 RESEND 0/5] clang fixes Paolo Bonzini
2010-02-04 13:31 ` [Qemu-devel] [PATCH v2 RESEND 1/5] remove two dead assignments in target-i386/translate.c Paolo Bonzini
2010-02-04 13:31 ` [Qemu-devel] [PATCH v2 RESEND 2/5] fix undefined shifts by >32 Paolo Bonzini
2010-02-25 14:02 ` [Qemu-devel] [PING 0.12] " Paolo Bonzini
2010-02-04 13:31 ` [Qemu-devel] [PATCH v2 RESEND 3/5] exec.c: dead assignments Paolo Bonzini
2010-02-04 13:31 ` Paolo Bonzini [this message]
2010-02-04 13:31 ` [Qemu-devel] [PATCH v2 RESEND 5/5] usb-linux.c: remove write-only variable Paolo Bonzini
2010-02-05 18:26 ` [Qemu-devel] [PATCH v2 RESEND 0/5] clang fixes Blue Swirl
2010-02-08 8:43 ` [Qemu-devel] " Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265290313-31738-5-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).