summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2010-01-22 16:22:20 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2010-01-25 19:23:11 +0100
commit6b2b3b8213bbe95182c91df419e0562e85f36bc0 (patch)
tree34fe389d5c6085a12ae60d0ecd23930c3f1bd5d5 /libvncclient
parentd640c94d701d2decac8eeb5d56ed84f73041f85f (diff)
downloadlibtdevnc-6b2b3b8213bbe95182c91df419e0562e85f36bc0.tar.gz
libtdevnc-6b2b3b8213bbe95182c91df419e0562e85f36bc0.zip
libvncclient/vncviewer.c: don't set serverPort in rfbInitClient().
The serverPort member is already set in rfbGetClient(), if we set it again in rfbInitClient(), this breaks playing of vncrec files (this relies on serverPort set to -1). Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/vncviewer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 155bb47..34de15d 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -306,7 +306,6 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
if(client->serverHost)
free(client->serverHost);
- client->serverPort = 5900;
if(colon) {
client->serverHost = strdup(argv[i]);