From bbc97413d21f3f0ea8e4f8353541ed9cc73fcc20 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 18:48:18 +0000 Subject: Forgot to initialize a var git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2447 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 86dbf5da0..7033284c4 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -1029,7 +1029,7 @@ int BindPorts() char configToken[MAXBUF], Addr[MAXBUF], Type[MAXBUF]; sockaddr_in client,server; int clientportcount = 0; - int BoundPortCount; + int BoundPortCount = 0; for (int count = 0; count < Config->ConfValueEnum("bind",&Config->config_f); count++) { Config->ConfValue("bind","port",count,configToken,&Config->config_f); -- cgit v1.2.3