chiark / gitweb /
vcfgfatal_maybefile: New suffix argument
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 16:27:17 +0000 (16:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 21:52:05 +0000 (21:52 +0000)
commit6490d19a2dea6e819a19211b2611cb11b8181f95
tree01eab0a65a647f3b4f14fb12a5c841b6dff6807b
parent19e15e93c72f6e8dd190f0f7f4c22de2af552045
vcfgfatal_maybefile: New suffix argument

We are going to want to provide a log_if that calls *cfgfatal*.
Messages sent to a log_if do not have a \n, but messages passed to
cfgfatal do.  (This is daft, btw.)

To help resolve this impedance mismatch, provide a "suffix" parameter.
We only need this for vcfgfatal_maybefile, not for any of the other
variants.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
log.c
rsa.c
secnet.h