m->nlmsg_flags |= NLM_F_ACK;
if (send(nl->fd, m, m->nlmsg_len, 0) < 0) {
- avahi_log_error(__FILE__": send(): %s\n", strerror(errno));
+ avahi_log_error(__FILE__": send(): %s", strerror(errno));
return -1;
}
return 1;
} else {
-/* avahi_log_debug("Accepted new query job.\n"); */
+/* avahi_log_debug("Accepted new query job."); */
if (!(qj = job_new(s, key, 0)))
return 0; /* OOM */
e->fd_ipv6 = avahi_open_unicast_socket_ipv6();
if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) {
- avahi_log_error(__FILE__": Failed to create wide area sockets: %s\n", strerror(errno));
+ avahi_log_error(__FILE__": Failed to create wide area sockets: %s", strerror(errno));
if (e->fd_ipv6 >= 0)
close(e->fd_ipv6);