From 0d7521d59167e47dd5c085d34edf3cd06e45cfc1 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 5 Oct 2009 12:38:40 +0200 Subject: 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. --- tools/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/syslogd.c') 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); } -- cgit