Date:	Tuesday August 29, 2000 @ 22:16
Author:	unbelver

Update of /home/netrek/cvsroot/metaserver
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv15852

Modified Files:
	scan.c 
Log Message:

1 too many places to allocate.

--Carlos V.



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

Index: metaserver/scan.c
diff -u metaserver/scan.c:2.11 metaserver/scan.c:2.12
--- metaserver/scan.c:2.11	Tue Aug 29 22:07:40 2000
+++ metaserver/scan.c	Tue Aug 29 22:16:36 2000
@@ -4,7 +4,7 @@
  * MetaServerII
  * Copyright (c) 1993 by Andy McFadden
  * 
- * $Id: scan.c,v 2.11 2000/08/30 03:07:40 unbelver Exp $
+ * $Id: scan.c,v 2.12 2000/08/30 03:16:36 unbelver Exp $
  * 
  */
 #include <stdio.h>
@@ -761,7 +761,7 @@
     free(servers);
   else
     {
-      realloc( servers, (sizeof(SERVER) * (server_count + 1)) );
+      realloc( servers, (sizeof(SERVER) * server_count) );
       if ( servers == NULL )
 	{
 	  fprintf(stderr, "ERROR: delete_server: realloc failure to get smaller buffer!\n");