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 /syslogd.h | |
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 'syslogd.h')
-rw-r--r-- | syslogd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ #define ADDDATE 0x004 /* add a date to the message */ #define MARK 0x008 /* this message is a mark */ +char *rs_strerror_r(int errnum, char *buf, size_t buflen); void logerror(char *type); void logerrorSz(char *type, char *errMsg); void logerrorInt(char *type, int iErr); |