repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 40ed94a1f23aa120cb80bcf8224cef69124909f1:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 40ed94a1f23aa120cb80bcf8224cef69124909f1
Author: Alexander Barton 
Date:   Sun Jul 20 13:19:36 2014 +0200

    Increase MAX_SERVERS from 16 to 64

    There are installations out there that would like to configure more
    than 16 links per server, so increase this limit. Best would be to
    get rid of MAX_SERVERS altogether and make if fully dynamic, but
    start with this quick and dirty hack ...

diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index 4acdc477007febe97a8faa03133e4a2d15f98595..
index ..a140c9d16a54eee20a197893ba01a45d5be9141a 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -53,7 +53,7 @@
 /* Size of structures */

 /** Max. count of configurable servers. */
-#define MAX_SERVERS 16
+#define MAX_SERVERS 64

 /** Max. number of WHOWAS list items that can be stored. */
 #define MAX_WHOWAS 64

-----END OF PAGE-----