summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]);