Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Friday May 28, 1999 @ 4:22
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv3537

Modified Files:
	main.c 
Log Message:
oops

****************************************

Index: Vanilla/ntserv/main.c
diff -u Vanilla/ntserv/main.c:1.9 Vanilla/ntserv/main.c:1.10
--- Vanilla/ntserv/main.c:1.9	Fri May 28 03:45:47 1999
+++ Vanilla/ntserv/main.c	Fri May 28 04:22:33 1999
@@ -138,9 +138,15 @@
 
     me = NULL;			/* UDP fix (?) */
     if (callHost) {
+        struct player bogus;
+
+        me = &bogus;
+	me->p_mapchars[0] = 'L';
+	me->p_mapchars[2] = '\0';
 	if (!connectToClient(host,xtrekPort)) {
 	    exit(0);
 	}
+	me = NULL;
     } else {
 	sock=0;			/* newstartd gives us our connection on 0 */
 	checkSocket();
@@ -149,9 +155,9 @@
     starttime=time(NULL);
     while (userVersion==0) {
 	/* Waiting for user to send his version number.
-	 * We give him ten seconds to do so...
+	 * We give him thirty seconds to do so...
 	 */
-	if (starttime+10 < time(NULL)) {
+	if (starttime+30 < time(NULL)) {
 	    exit(1);
 	}
 	socketPause();