30dd2da2a3
The RFC 5424 spec mentions that logging FQDNs over short hostnames is preferred. Alter this code, so that the hostname doesn't get truncated on startup. Keep track of the length of the short hostname, so that fprintf() can do the truncation where necessary. MFC after: 1 month |
||
---|---|---|
.. | ||
tests | ||
extern.h | ||
Makefile | ||
Makefile.depend | ||
newsyslog.8 | ||
newsyslog.c | ||
newsyslog.conf.5 | ||
pathnames.h | ||
ptimes.c |