Remove newlines from log messages.
[oweals/tinc.git] / src / subnet.c
index f010e4ead64458875a4d97477ad53aa93e4c3fb5..47f14366c10127b1d30f488eea79662e5bb85836 100644 (file)
@@ -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;
        }