From 98a19e8535dbc46b43d5909a0db880956a3d6afb Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 13 Aug 2006 11:19:08 +0000 Subject: Make sure fd_ref_table and socket_ref arrays are initialized with all NULLS on startup git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4916 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index c12450e29..52fe7eae7 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -43,7 +43,7 @@ extern InspIRCd* ServerInstance; extern ServerConfig* Config; extern time_t TIME; -InspSocket* socket_ref[MAX_DESCRIPTORS]; +InspSocket* socket_ref[MAX_DESCRIPTORS] = { NULL }; InspSocket::InspSocket() { -- cgit v1.3.1-10-gc9f91