summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvchat-client.c4
1 files changed, 1 insertions, 3 deletions
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)
514 loadformats(GLOBAL_FORMAT_FILE); 514 loadformats(GLOBAL_FORMAT_FILE);
515 loadformats(getstroption (CF_FORMFILE)); 515 loadformats(getstroption (CF_FORMFILE));
516 516
517 if (!getintoption(CF_USESSL)) 517 if ( !getintoption(CF_USESSL) && !strcmp(getstroption(CF_SERVERPORT),"2325"))
518 setstroption(CF_SERVERPORT,"2323"); 518 setstroption(CF_SERVERPORT,"2323");
519 else
520 setstroption(CF_SERVERPORT,"2325");
521 519
522 /* install signal handler */ 520 /* install signal handler */
523 signal (SIGINT, cleanup); 521 signal (SIGINT, cleanup);