diff options
| author | 2015-07-20 16:48:11 +0000 | |
|---|---|---|
| committer | 2015-07-20 16:48:11 +0000 | |
| commit | a69111802f6e12a50098c690023d48814c0049e8 (patch) | |
| tree | dc985dfc1b341d5d8ac197a028075a24830c46c6 /usr.sbin/syslogd/syslogd.c | |
| parent | Don't try to dereference fp if it is NULL, ok deraadt (diff) | |
| download | wireguard-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
