summaryrefslogtreecommitdiffstats
path: root/tcpsyslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r--tcpsyslog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcpsyslog.c b/tcpsyslog.c
index 311e4308..6b1c446c 100644
--- a/tcpsyslog.c
+++ b/tcpsyslog.c
@@ -1020,7 +1020,7 @@ int TCPSendCreateSocket(struct addrinfo *addrDest)
return fd;
} else {
char errStr[1024];
- dbgprintf("create tcp connection failed, reason %s",
+ dbgprintf("create tcp connection failed, reason %s\n",
rs_strerror_r(errno, errStr, sizeof(errStr)));
}
@@ -1032,12 +1032,12 @@ int TCPSendCreateSocket(struct addrinfo *addrDest)
}
else {
char errStr[1024];
- dbgprintf("couldn't create send socket, reason %s", rs_strerror_r(errno, errStr, sizeof(errStr)));
+ dbgprintf("couldn't create send socket, reason %s\n", rs_strerror_r(errno, errStr, sizeof(errStr)));
}
r = r->ai_next;
}
- dbgprintf("no working socket could be obtained");
+ dbgprintf("no working socket could be obtained\n");
return -1;
}