diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-12 15:08:17 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-12 15:08:17 -0800 |
commit | 4a3244de1424155ab4485cafd8299b9144c76ed7 (patch) | |
tree | 350565a0c1b960c57a464a6f50aa00f650035eef /rpcapd | |
parent | a4b43033f85afe0eacd237d87d4e07bc16e6598d (diff) | |
download | libpcap-4a3244de1424155ab4485cafd8299b9144c76ed7.tar.gz |
Don't log the error buffer before returning.
If there was an error, a message should already have been logged at
priority LOGPRIO_ERROR; logging it again at LOGPRIO_DEBUG isn't useful.
Diffstat (limited to 'rpcapd')
-rw-r--r-- | rpcapd/daemon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rpcapd/daemon.c b/rpcapd/daemon.c index eaf276e1..00717c93 100644 --- a/rpcapd/daemon.c +++ b/rpcapd/daemon.c @@ -1109,7 +1109,6 @@ end: // Print message and return rpcapd_log(LOGPRIO_DEBUG, "I'm exiting from the child loop"); - rpcapd_log(LOGPRIO_DEBUG, "%s", errbuf); return client_told_us_to_close; } |