summaryrefslogtreecommitdiffstats
path: root/plugins/eventlog/eventlog.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-12 21:52:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-12 21:52:32 +0000
commitf39f3579a7f6a99e201edafb532e639cffda54ce (patch)
treebd367ae6fe0ea9f7fb1d5aacf9ee409aafbf268d /plugins/eventlog/eventlog.c
parentAdding upstream version 2.0.0+debian. (diff)
downloaddnscap-f39f3579a7f6a99e201edafb532e639cffda54ce.tar.xz
dnscap-f39f3579a7f6a99e201edafb532e639cffda54ce.zip
Adding upstream version 2.0.1+debian.upstream/2.0.1+debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/eventlog/eventlog.c')
-rw-r--r--plugins/eventlog/eventlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eventlog/eventlog.c b/plugins/eventlog/eventlog.c
index 93d0d15..14606f8 100644
--- a/plugins/eventlog/eventlog.c
+++ b/plugins/eventlog/eventlog.c
@@ -374,7 +374,7 @@ void eventlog_output(const char* descr, iaddr from, iaddr to, uint8_t proto, uns
ldns_buffer_clear(buf);
if (ldns_rdf2buffer_str(buf, ldns_rr_owner(qd)) == LDNS_STATUS_OK) {
- fprintf(out, " name=%s\n", (char*)ldns_buffer_begin(buf));
+ fprintf(out, " name=%s", (char*)ldns_buffer_begin(buf));
} else {
fprintf(out, " **ERROR parsing response record**\n");
ldns_pkt_free(pkt);