From: Lennart Poettering Date: Wed, 28 Sep 2005 23:55:21 +0000 (+0000) Subject: remove even more bad newlines in log messages X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=6b3876eb3740666e9f3e036d49efc7b3b3ee5b45;p=catta remove even more bad newlines in log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@647 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-core/netlink.c b/avahi-core/netlink.c index c5afde9..ccb4d83 100644 --- a/avahi-core/netlink.c +++ b/avahi-core/netlink.c @@ -175,7 +175,7 @@ int avahi_netlink_send(AvahiNetlink *nl, struct nlmsghdr *m, unsigned *ret_seq) 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; } diff --git a/avahi-core/query-sched.c b/avahi-core/query-sched.c index 87553d6..d7d8ab0 100644 --- a/avahi-core/query-sched.c +++ b/avahi-core/query-sched.c @@ -363,7 +363,7 @@ int avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, int immedi 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 */ diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index a66a682..7e7c7ce 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -552,7 +552,7 @@ AvahiWideAreaLookupEngine *avahi_wide_area_engine_new(AvahiServer *s) { 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);