diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-30 13:33:17 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-30 13:33:17 +0000 |
commit | 57cf2138522f3dacf26ea30c6f32a800def70209 (patch) | |
tree | 226dcea739dca9fd268fac31afecbcab229b8831 /omfwd.c | |
parent | 61b10104612b3d776399f853f399e64ffe175e65 (diff) | |
download | rsyslog-57cf2138522f3dacf26ea30c6f32a800def70209.tar.gz rsyslog-57cf2138522f3dacf26ea30c6f32a800def70209.tar.xz rsyslog-57cf2138522f3dacf26ea30c6f32a800def70209.zip |
fixed a bug that could cause invalid string handling via strerror_r
varmojfekoj provided the patch - many thanks!
Diffstat (limited to 'omfwd.c')
-rw-r--r-- | omfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len) int eno = errno; char errStr[1024]; dbgprintf("sendto() error: %d = %s.\n", - eno, strerror_r(eno, errStr, sizeof(errStr))); + eno, rs_strerror_r(eno, errStr, sizeof(errStr))); } } if (lsent == len && !send_to_all) |