summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-03 14:57:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-03 14:57:23 +0000
commitf7a15abfba79a9da1f125d48e75b3bb68ebe0e9e (patch)
treedb901e43604c22cc5367c02d1a88acdd82e02193 /syslogd.c
parentfc761b9fdc5486a0072ee63d8b438f562127d057 (diff)
downloadrsyslog-f7a15abfba79a9da1f125d48e75b3bb68ebe0e9e.tar.gz
rsyslog-f7a15abfba79a9da1f125d48e75b3bb68ebe0e9e.tar.xz
rsyslog-f7a15abfba79a9da1f125d48e75b3bb68ebe0e9e.zip
added capability to use a linked list for queuing to the queue class
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 898a0bfb..257f1a91 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3339,7 +3339,8 @@ init(void)
}
/* create message queue */
- CHKiRet_Hdlr(queueConstruct(&pMsgQueue, QUEUETYPE_FIXED_ARRAY, iMainMsgQueueSize, msgConsumer)) {
+ //CHKiRet_Hdlr(queueConstruct(&pMsgQueue, QUEUETYPE_FIXED_ARRAY, iMainMsgQueueSize, msgConsumer)) {
+ CHKiRet_Hdlr(queueConstruct(&pMsgQueue, QUEUETYPE_LINKEDLIST, iMainMsgQueueSize, msgConsumer)) {
/* 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);
exit(1);