Load clients only from listen sockets, not from mainconfig.
authoraland <aland>
Wed, 2 Jul 2008 16:00:15 +0000 (16:00 +0000)
committeraland <aland>
Wed, 2 Jul 2008 16:00:15 +0000 (16:00 +0000)
This allows us to die if no clients are defined...

src/main/mainconfig.c

index 928deec..141d0e3 100644 (file)
@@ -751,8 +751,6 @@ int read_mainconfig(int reload)
        cf_section_free(&mainconfig.config);
        mainconfig.config = cs;
 
-       clients_parse_section(cs);
-
        DEBUG2("%s: #### Loading Realms and Home Servers ####", mainconfig.name);
 
        if (!realms_init(cs)) {