Skip to content

Commit

Permalink
Merge pull request #252 from hashtag-24/remove_trailing_newline
Browse files Browse the repository at this point in the history
eventlog.so imp(remove trailing newline for better readability (because duplicate) + answer on same line)
  • Loading branch information
jelu authored Feb 26, 2021
2 parents d31d76b + 5df363c commit ec925a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/eventlog/eventlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ec925a4

Please sign in to comment.