]> git.meshlink.io Git - catta/commitdiff
remove even more bad newlines in log messages
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Sep 2005 23:55:21 +0000 (23:55 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 28 Sep 2005 23:55:21 +0000 (23:55 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@647 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/netlink.c
avahi-core/query-sched.c
avahi-core/wide-area.c

index c5afde90df5b1b15978993f0e3ca68bf17543293..ccb4d836ef8599c7a3f973648557e712c4ca71fe 100644 (file)
@@ -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;
     }
 
index 87553d69aa8af321a150995a07ce66273c324f32..d7d8ab032d833dd22676ddcb46b9daa18c951251 100644 (file)
@@ -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 */
index a66a68243fa11ed5eff6a33470b1ed511c5a01b2..7e7c7ce2686ce565e82b24a18593009d63753118 100644 (file)
@@ -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);