diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:29:01 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-11 07:29:01 +0000 |
commit | 3141c15442cdb669d6e5a609011e655e2b1e8815 (patch) | |
tree | 8db9660158ad3745f889b4017db978d31449a1be /tcpsyslog.c | |
parent | 886bcc2dec65590dfe893d7d02bd28d480a8e876 (diff) | |
download | rsyslog-3141c15442cdb669d6e5a609011e655e2b1e8815.tar.gz rsyslog-3141c15442cdb669d6e5a609011e655e2b1e8815.tar.xz rsyslog-3141c15442cdb669d6e5a609011e655e2b1e8815.zip |
bugfix: suspended actions were not always properly resumed varmojfekoj
provided the patch - many thanks!
Diffstat (limited to 'tcpsyslog.c')
-rw-r--r-- | tcpsyslog.c | 6 |
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; } |