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, 15 Feb 2020 21:56:51 +0000 (21:56 +0000)
commit417d7c9b82d53c2dc1b2c75516b30595f19492cb
tree5754ea22231d7fb64ab5764a31a9bc976e41c5cb
parent2798941e7a1a60e385f51bde9fde6c41e6012eea
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