]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
syslogd: try to print out a more helpful message in socksetup(..) if/when
authorEnji Cooper <ngie@FreeBSD.org>
Mon, 20 Mar 2017 06:12:55 +0000 (06:12 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Mon, 20 Mar 2017 06:12:55 +0000 (06:12 +0000)
commitb79299b5e7b8f6ae5fbd86737d50b0056820ab19
tree4d8eb7070af24aea871439375811144647dbece8
parent2a016de1a5abdf87ae6e00f879a3600d157a8ca2
syslogd: try to print out a more helpful message in socksetup(..) if/when
getaddrinfo fails

If the asprintf call fails, fall back to the old code (as a last ditch effort
to provide the end-user with helpful output).

Sponsored by: Dell EMC Isilon
usr.sbin/syslogd/syslogd.c