X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitserver.c;h=322386d69c3e65b993d0d701178069def621ef1e;hb=41e6cd66cdd5ba613a9f6f8f76076a95dcb0e184;hp=5aea06c2baef5bc0f72f6747ab1c4e9ecc7b39a2;hpb=98a58f7e4b68ecb362cbd0e4694c733ef937aa9d;p=citadel.git diff --git a/citadel/citserver.c b/citadel/citserver.c index 5aea06c2b..322386d69 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -65,6 +65,7 @@ struct CitContext *ContextList = NULL; char *unique_session_numbers; int ScheduledShutdown = 0; int do_defrag = 0; +time_t server_startup_time; /* * Various things that need to be initialized at startup @@ -72,6 +73,8 @@ int do_defrag = 0; void master_startup(void) { struct timeval tv; + time(&server_startup_time); + lprintf(9, "master_startup() started\n"); lprintf(7, "Opening databases\n"); open_databases();