X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=secnet.c;h=e70fbe189720a2dbc34c768a5a91a5ec42680715;hb=8689b3a94c043f04e334a7b181a7250ad5940616;hp=0df6e0919c9befd5353acda7a12b133d61d86ee2;hpb=2fe58dfd10216a37f1ece081f926971882de112e;p=secnet.git diff --git a/secnet.c b/secnet.c index 0df6e09..e70fbe1 100644 --- a/secnet.c +++ b/secnet.c @@ -4,26 +4,20 @@ * */ -static char *version="secnet version " VERSION " $Date: 1996/03/13 22:27:41 $"; +extern char version[]; +#include "secnet.h" #include #include #include -#include #include +#include #include -#include -#include -#include #include -#include #include -#include -#include "secnet.h" #include "util.h" #include "conffile.h" -#include "modules.h" /* Command-line options (possibly config-file options too) */ static char *configfile="/etc/secnet/secnet.conf"; @@ -156,7 +150,7 @@ static void setup(dict_t *config) fatal("configuration does not include a system/log facility\n"); } log=init_log(l); - log->log(log->st,LOG_DEBUG,"setup: logging started"); + log->log(log->st,LOG_DEBUG,"%s: logging started",version); /* Who are we supposed to run as? */ userid=dict_read_string(system,"userid",False,"system",loc);