X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=log.c;h=3efd289fe67f9efc9051a07c84a2f83b58a06b51;hb=b5cea714148a4954f141be22bee3d240a280a0e4;hp=e7d974dc853cfe1981afb9f1a3bdd474c0595118;hpb=417d7c9b82d53c2dc1b2c75516b30595f19492cb;p=secnet.git diff --git a/log.c b/log.c index e7d974d..3efd289 100644 --- a/log.c +++ b/log.c @@ -176,6 +176,12 @@ void cfgfatal(struct cloc loc, cstring_t facility, const char *message, ...) va_end(args); } +void cfgfile_log__vmsg(void *sst, int class, const char *message, va_list args) +{ + struct cfgfile_log *st=sst; + vcfgfatal_maybefile(0,st->loc,st->facility,message,args,"\n"); +} + void cfgfile_postreadcheck(struct cloc loc, FILE *f) { assert(loc.file);