changeset 39:bb25bdfc0d71

Sync.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Oct 2008 02:13:39 +0300
parents cfbdd75946f4
children 3e2548c3eb51
files nnchat.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <sys/socket.h>
 #include <sys/types.h>
 #include <arpa/inet.h>
@@ -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) {