X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver_main.c;h=55ec9f578ee07e6f9923d394b23592861dfcbe06;hb=200b7ef90a77a4fd2f7239de7d393d2f577233a4;hp=cc45704669cc60f80dafb8300bb0c5e57b007ff6;hpb=7716f155f4145d83b6acfe6157599e6a9ee04608;p=citadel.git diff --git a/citadel/server_main.c b/citadel/server_main.c index cc4570466..55ec9f578 100644 --- a/citadel/server_main.c +++ b/citadel/server_main.c @@ -100,11 +100,9 @@ int main(int argc, char **argv) struct passwd pw, *pwp = NULL; char pwbuf[SIZ]; int drop_root_perms = 1; - size_t size; int relh=0; int home=0; int dbg=0; - int have_log=0; char relhome[PATH_MAX]=""; char ctdldir[PATH_MAX]=CTDLDIR; int syslog_facility = LOG_DAEMON; @@ -116,13 +114,9 @@ int main(int argc, char **argv) // eCrashSymbolTable symbol_table; #endif - /* initialise semaphores here. Patch by Matt and davew - * its called here as they are needed by syslog for thread safety - */ - InitialiseSemaphores(); - /* initialize the master context */ InitializeMasterCC(); + InitializeMasterTSD(); /* parse command-line arguments */ for (a=1; a