Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9127/src

Modified Files:
	pingstats.c 
Log Message:
Fix ping times > 1 second, prevent overflow.

Index: pingstats.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/pingstats.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pingstats.c	7 May 2006 16:59:27 -0000	1.2
+++ pingstats.c	13 Feb 2007 02:17:11 -0000	1.3
@@ -138,7 +138,8 @@
 {
     char buf[6];
 
-    sprintf (buf, "(%3d)", value);      /* fix */
+    if (value < 1000) sprintf (buf, "(%3d)", value);
+    else sprintf (buf, ">1sec");
 
     W_WriteText (pStats, STAT_WIDTH - TEXT_WIDTH, y, textColor,
                  buf, 5, W_RegularFont);