LibVNCClient: make sure that the port is initialized correctly.

While at it, adjust coding style.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
Johannes Schindelin 14 years ago
parent a2ad61755f
commit d640c94d70

@ -306,6 +306,7 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
if(client->serverHost)
free(client->serverHost);
client->serverPort = 5900;
if(colon) {
client->serverHost = strdup(argv[i]);

Loading…
Cancel
Save