From: Guus Sliepen Date: Sat, 28 May 2011 21:42:18 +0000 (+0200) Subject: Remove newlines from log messages. X-Git-Tag: release-1.0.15~6 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=5cff8c47c1781a88123c128a4cec6cdd39925aa5;p=tinc Remove newlines from log messages. --- 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; }