summaryrefslogtreecommitdiff
path: root/rpcapd
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-01-12 15:08:17 -0800
committerGuy Harris <guy@alum.mit.edu>2019-01-12 15:08:17 -0800
commit4a3244de1424155ab4485cafd8299b9144c76ed7 (patch)
tree350565a0c1b960c57a464a6f50aa00f650035eef /rpcapd
parenta4b43033f85afe0eacd237d87d4e07bc16e6598d (diff)
downloadlibpcap-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.c1
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;
}