summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-30 17:09:28 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-30 17:09:28 +0100
commit62f6a7d7b4b3c9fee0fffea961a201d24a059b2c (patch)
tree50dedb5ef56879fd3aa1c83f487cc60c302c7b70 /runtime/rsconf.c
parent7182c6def360378038c9dc824b7cdf8f3d73a73f (diff)
downloadrsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.tar.gz
rsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.tar.bz2
rsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.zip
fix missing functionality: ruleset(){} could not specify ruleset queue
The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 55fdd3bd..ac9cd800 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -758,7 +758,7 @@ activateMainQueue()
{
DEFiRet;
/* create message queue */
- CHKiRet_Hdlr(createMainQueue(&pMsgQueue, UCHAR_CONSTANT("main Q"))) {
+ CHKiRet_Hdlr(createMainQueue(&pMsgQueue, UCHAR_CONSTANT("main Q"), NULL)) {
/* no queue is fatal, we need to give up in that case... */
fprintf(stderr, "fatal error %d: could not create message queue - rsyslogd can not run!\n", iRet);
FINALIZE;