From be82ccedeb730c1a7035789aedcbc4fe7fe0fee3 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 23 Jan 2008 15:56:39 +0000 Subject: We did not obey user specified port --- vchat-client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vchat-client.c') diff --git a/vchat-client.c b/vchat-client.c index a67875b..389c486 100755 --- a/vchat-client.c +++ b/vchat-client.c @@ -514,10 +514,8 @@ main (int argc, char **argv) loadformats(GLOBAL_FORMAT_FILE); loadformats(getstroption (CF_FORMFILE)); - if (!getintoption(CF_USESSL)) + if ( !getintoption(CF_USESSL) && !strcmp(getstroption(CF_SERVERPORT),"2325")) setstroption(CF_SERVERPORT,"2323"); - else - setstroption(CF_SERVERPORT,"2325"); /* install signal handler */ signal (SIGINT, cleanup); -- cgit v1.2.3