X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver_main.c;h=8f432963b42266b8108e2e365d75f15c2c832094;hb=adccf08ddebcb920c4244cc62bc48f85575c2d88;hp=b7019de5f4aca29bd15390e136b7aec03c915984;hpb=7bd1afdc579a40d094867fe1295841e1a2c48a06;p=citadel.git diff --git a/citadel/server_main.c b/citadel/server_main.c index b7019de5f..8f432963b 100644 --- a/citadel/server_main.c +++ b/citadel/server_main.c @@ -74,9 +74,6 @@ #include #endif -#ifndef HAVE_SNPRINTF -#include "snprintf.h" -#endif const char *CitadelServiceUDS="citadel-UDS"; const char *CitadelServiceTCP="citadel-TCP"; @@ -89,6 +86,7 @@ void go_threading(void); */ int main(int argc, char **argv) { + size_t basesize = 64; char facility[32]; int a; /* General-purpose variables */ struct passwd pw, *pwp = NULL; @@ -100,6 +98,7 @@ int main(int argc, char **argv) char relhome[PATH_MAX]=""; char ctdldir[PATH_MAX]=CTDLDIR; int syslog_facility = LOG_DAEMON; + const char *eDebuglist[] = {NULL, NULL}; #ifdef HAVE_RUN_DIR struct stat filestats; #endif @@ -113,61 +112,61 @@ int main(int argc, char **argv) InitializeMasterTSD(); /* parse command-line arguments */ - for (a=1; a