]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
Updated copyright notice to 2007
[citadel.git] / citadel / server_main.c
index 134e564348432a257d4b90bc0427b5be8aed51e5..3fb00e3c706b54caa96bbcd09ed88177b9f56dce 100644 (file)
@@ -51,6 +51,7 @@
 #include "citserver.h"
 #include "support.h"
 #include "config.h"
+#include "control.h"
 #include "database.h"
 #include "housekeeping.h"
 #include "tools.h"
@@ -174,7 +175,7 @@ int main(int argc, char **argv)
                "*** Citadel server engine v%d.%02d ***\n",
                (REV_LEVEL/100), (REV_LEVEL%100));
        lprintf(CTDL_NOTICE,
-               "Copyright (C) 1987-2005 by the Citadel development team.\n");
+               "Copyright (C) 1987-2007 by the Citadel development team.\n");
        lprintf(CTDL_NOTICE,
                "This program is distributed under the terms of the GNU "
                "General Public License.\n");
@@ -187,6 +188,9 @@ int main(int argc, char **argv)
        config.c_ipgm_secret = rand();
        put_config();
 
+       lprintf(CTDL_INFO, "Acquiring control record\n");
+       get_control();
+
 #ifdef HAVE_RUN_DIR
        /* on some dists rundir gets purged on startup. so we need to recreate it. */