Moved all of the background tasks back to the old EVT_TIMER style
[citadel.git] / citadel / server_main.c
index 86cf5b0b031eb7d1c0dc2792ac9d6bda00f6336c..cc45704669cc60f80dafb8300bb0c5e57b007ff6 100644 (file)
@@ -116,12 +116,6 @@ int main(int argc, char **argv)
 //     eCrashSymbolTable symbol_table;
 #endif
 
-#ifdef HAVE_GC
-       GC_INIT();
-       GC_find_leak = 1;
-#endif
-
-
        /* initialise semaphores here. Patch by Matt and davew
         * its called here as they are needed by syslog for thread safety
         */
@@ -143,11 +137,6 @@ int main(int argc, char **argv)
                        running_as_daemon = 1;
                }
 
-               /* run a few stats if -s was specified */
-               else if (!strncmp(argv[a], "-s", 2)) {
-                       statcount = atoi(&argv[a][2]);
-               }
-
                else if (!strncmp(argv[a], "-h", 2)) {
                        relh=argv[a][2]!='/';
                        if (!relh) safestrncpy(ctdl_home_directory, &argv[a][2],
@@ -397,7 +386,6 @@ int main(int argc, char **argv)
 
        go_threading();
        
-       
        master_cleanup(exit_signal);
        return(0);
 }