CtdlLogPrintf(CTDL_INFO, "Loading citadel.config\n");
get_config();
config.c_ipgm_secret = rand();
+
+ CtdlLogPrintf(CTDL_INFO, "Acquiring control record\n");
+ get_control();
+
put_config();
#ifdef HAVE_RUN_DIR
*/
master_startup();
- CtdlLogPrintf(CTDL_INFO, "Acquiring control record\n");
- get_control();
-
-/**
+/*
* Initialise the user 0 to have a name. It would be nice to do it in InitializeMasterCC
* since it is contained within the MasterCC but we can't because the DB isn't available
* at that time so we do it seperate.