summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2015-07-20 16:48:11 +0000
committerdoug <doug@openbsd.org>2015-07-20 16:48:11 +0000
commita69111802f6e12a50098c690023d48814c0049e8 (patch)
treedc985dfc1b341d5d8ac197a028075a24830c46c6 /usr.sbin/syslogd/syslogd.c
parentDon't try to dereference fp if it is NULL, ok deraadt (diff)
downloadwireguard-openbsd-a69111802f6e12a50098c690023d48814c0049e8.tar.xz
wireguard-openbsd-a69111802f6e12a50098c690023d48814c0049e8.zip
Remove condition that never happens and fix error handling.
There were two issues here: 1) in == NULL is never true because it's checked above here. (Fixes Coverity 21705) 2) All error handling is in the if (in == NULL) guard, so effectively there's no error handling and it continues on. ok miod@ jsing@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
0 files changed, 0 insertions, 0 deletions