From 5cff8c47c1781a88123c128a4cec6cdd39925aa5 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 28 May 2011 23:42:18 +0200 Subject: [PATCH] Remove newlines from log messages. --- src/node.c | 2 +- src/subnet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.c b/src/node.c index d6156b6a..cf70f838 100644 --- a/src/node.c +++ b/src/node.c @@ -142,7 +142,7 @@ node_t *lookup_node_udp(const sockaddr_t *sa) { void update_node_udp(node_t *n, const sockaddr_t *sa) { if(n == myself) { - logger(LOG_WARNING, "Trying to update UDP address of myself!\n"); + logger(LOG_WARNING, "Trying to update UDP address of myself!"); return; } diff --git a/src/subnet.c b/src/subnet.c index f010e4ea..47f14366 100644 --- a/src/subnet.c +++ b/src/subnet.c @@ -273,7 +273,7 @@ bool str2net(subnet_t *subnet, const char *subnetstr) { bool net2str(char *netstr, int len, const subnet_t *subnet) { if(!netstr || !subnet) { - logger(LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!\n", netstr, subnet); + logger(LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!", netstr, subnet); return false; } -- 2.39.5