diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:48:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:48:18 +0000 |
commit | bbc97413d21f3f0ea8e4f8353541ed9cc73fcc20 (patch) | |
tree | b5b9dcee02b409e2ba3a2b8bd440a67f3eb8196f /src | |
parent | 27cc075bf3f5eef593d585c9262027ee472b5e53 (diff) |
Forgot to initialize a var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2447 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd_io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |