Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19873/src Modified Files: parsemeta.c Log Message: Updated compile instructions based on experience setting up development environment from scratch. Fixed bug in version_r with metaping. Index: parsemeta.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/parsemeta.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- parsemeta.c 18 Dec 2006 02:02:57 -0000 1.24 +++ parsemeta.c 19 Dec 2006 14:30:53 -0000 1.25 @@ -473,6 +473,9 @@ char *p; int servers, i; time_t now = time(NULL); +#ifdef METAPING + int j; +#endif /* number of servers */ p = strtok(NULL,"\n"); @@ -605,8 +608,8 @@ #ifdef METAPING sp->ip_lookup = 0; /* Initialize the ping rtt fields */ - for (i = 0; i < RTT_AVG_BUFLEN; ++i ) - sp->pkt_rtt[i] = (unsigned long) -1; + for (j = 0; j < RTT_AVG_BUFLEN; ++j ) + sp->pkt_rtt[j] = (unsigned long) -1; #endif } }