summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 13:33:17 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 13:33:17 +0000
commit57cf2138522f3dacf26ea30c6f32a800def70209 (patch)
tree226dcea739dca9fd268fac31afecbcab229b8831 /syslogd.h
parent61b10104612b3d776399f853f399e64ffe175e65 (diff)
downloadrsyslog-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/syslogd.h b/syslogd.h
index 17b45161..6163c292 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -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);