# HG changeset patch # User Matti Hamalainen # Date 1224717219 -10800 # Node ID bb25bdfc0d71a2a3dd223affa2a30719b7d79150 # Parent cfbdd75946f4094ee102f01a19c99e88c4707d89 Sync. diff -r cfbdd75946f4 -r bb25bdfc0d71 nnchat.c --- a/nnchat.c Thu Oct 23 02:13:26 2008 +0300 +++ b/nnchat.c Thu Oct 23 02:13:39 2008 +0300 @@ -1,3 +1,7 @@ +/* NNChat - Custom chat client for NewbieNudes.com chatrooms + * Written by Matti 'ccr' Hämäläinen + * (C) Copyright 2008 Tecnic Software productions (TNSP) + */ #include #include #include @@ -23,7 +27,7 @@ /* Options */ int optPort = 8005; -int optUserColor = 0x408060; +int optUserColor = 0x006080; char *optServer = "www11.servemedata.com", *optUserName = NULL, *optUserName2 = NULL, @@ -1029,6 +1033,7 @@ } THMSG(2, "True hostname: %s\n", tmpHost->h_name); +#if 0 /* To emulate the official client, we first make a fake connection ... */ if ((tmpSocket = openConnection((struct in_addr *) tmpHost->h_addr, optPort)) < 0) { THERR("Fakeprobe connection setup failed!\n"); @@ -1047,6 +1052,7 @@ THMSG(2, "Probe got: %s\n", tmpBuf); closeConnection(tmpSocket); } +#endif /* Okay, now do the proper connection ... */ if ((tmpSocket = openConnection((struct in_addr *) tmpHost->h_addr, optPort)) < 0) {