authd: do not use \n with rb_helper_write(), unnecessary

This commit is contained in:
William Pitcock 2016-01-08 05:44:41 -06:00
parent 1bf2919817
commit c7c009b563

View file

@ -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);
}