]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Increase MAX_SERVERS from 16 to 64
authorAlexander Barton <alex@barton.de>
Sun, 20 Jul 2014 11:19:36 +0000 (13:19 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 20 Jul 2014 11:19:36 +0000 (13:19 +0200)
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 ...

src/ngircd/defines.h

index 4acdc477007febe97a8faa03133e4a2d15f98595..a140c9d16a54eee20a197893ba01a45d5be9141a 100644 (file)
@@ -53,7 +53,7 @@
 /* Size of structures */
 
 /** Max. count of configurable servers. */
 /* 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
 
 /** Max. number of WHOWAS list items that can be stored. */
 #define MAX_WHOWAS 64