Commit Diff


commit - 87f4b1c6f64f85556533f01d95da1cf83a91d4c6
commit + 5d0ba011c7a3d71e00c677edd74a5383e3f15fac
blob - f8d396dd2a8d3b8e9a8b9d5faf6e097a6c9314d5
blob + 2bd537c4c5e58b3a70ab7523a282921280832055
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
@@ -17,7 +17,7 @@
 #include "portab.h"
 #include "io.h"
 
-static char UNUSED id[] = "$Id: conn.c,v 1.192 2006/04/23 10:37:27 fw Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.193 2006/04/29 16:19:46 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -958,7 +958,8 @@ New_Connection( int Sock )
 
 		/* Adjust pointer to new block */
 		My_Connections = array_start(&My_ConnArray);
-		Pool_Size = new_Pool_Size;
+		while (Pool_Size < new_Pool_Size)
+			Init_Conn_Struct(Pool_Size++);
 	}
 
 	c = Client_NewLocal( new_sock, inet_ntoa( new_addr.sin_addr ), CLIENT_UNKNOWN, false );