Implimented a new way to check the control record at startup.
[citadel.git] / citadel / server_main.c
index ea03a202caf2dc8d28383f9cd15cfb8cfd2d1960..0503221dae6fdf5619361878d04fbcc197e1fb36 100644 (file)
@@ -249,6 +249,11 @@ int main(int argc, char **argv)
         */
        master_startup();
 
+       /*
+        * Check that the control record is correct and place sensible values if it isn't
+        */
+       check_control();
+       
        /*
         * Run any upgrade entry points
         */