diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-05 12:38:40 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-05 12:38:40 +0200 |
commit | 0d7521d59167e47dd5c085d34edf3cd06e45cfc1 (patch) | |
tree | c2f3482f0414206b14545857b52a6bbe57f24d88 /tools/syslogd.c | |
parent | 21aef2dffdc958cd92c7ac174fc398b4265acd6d (diff) | |
download | rsyslog-0d7521d59167e47dd5c085d34edf3cd06e45cfc1.tar.gz rsyslog-0d7521d59167e47dd5c085d34edf3cd06e45cfc1.tar.xz rsyslog-0d7521d59167e47dd5c085d34edf3cd06e45cfc1.zip |
bugfix: invalid storage class selected for some size config parameters.
This resulted in wrong values. The most prominent victim was the
directory creation mode, which was set to zero in some cases. For
details, see related blog post:
http://blog.gerhards.net/2009/10/another-note-on-hard-to-find-bugs.html
This replaces the improper bugfix from two commits ago with a proper one.
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r-- | tools/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 88588621..60e162f8 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -1748,7 +1748,7 @@ static void doexit() /* set the maximum message size */ -static rsRetVal setMaxMsgSize(void __attribute__((unused)) *pVal, int iNewVal) +static rsRetVal setMaxMsgSize(void __attribute__((unused)) *pVal, long iNewVal) { return glbl.SetMaxLine(iNewVal); } |