From c7c009b563c3cda610b0d6c830d0de088107fa70 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 8 Jan 2016 05:44:41 -0600 Subject: [PATCH] authd: do not use \n with rb_helper_write(), unnecessary --- authd/dns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/dns.c b/authd/dns.c index 905393af..cffaef1a 100644 --- a/authd/dns.c +++ b/authd/dns.c @@ -30,7 +30,7 @@ submit_dns_answer(void *userdata, struct DNSReply *reply) if (reply == NULL) { - rb_helper_write(authd_helper, "E %s E %c *\n", req->reqid, req->type); + rb_helper_write(authd_helper, "E %s E %c *", req->reqid, req->type); goto cleanup; } @@ -94,7 +94,7 @@ submit_dns_answer(void *userdata, struct DNSReply *reply) exit(7); } - rb_helper_write(authd_helper, "E %s %c %c %s\n", req->reqid, status, req->type, response); + rb_helper_write(authd_helper, "E %s %c %c %s", req->reqid, status, req->type, response); cleanup: rb_free(req); }