diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-01-26 22:30:55 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-01-26 22:30:55 +0100 |
commit | ead2c355e3261f98817ccd52bc3644103140e824 (patch) | |
tree | 73841ae761e6719898a8afaa539b0f91cc8d90d0 /tools/syslogd.c | |
parent | d5360aa57436bb931c513677bc2cbdb1733a4c6b (diff) | |
download | rsyslog-ead2c355e3261f98817ccd52bc3644103140e824.tar.gz rsyslog-ead2c355e3261f98817ccd52bc3644103140e824.tar.xz rsyslog-ead2c355e3261f98817ccd52bc3644103140e824.zip |
bugfix: unitialized mutex was used in msg.c:getPRI
This was subtle, because getPRI is called as part of the debugging code
(always executed) in syslogd.c:logmsg.
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r-- | tools/syslogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 2cac8fe4..f0d63932 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -2431,6 +2431,7 @@ init(void) ABORT_FINALIZE(RS_RET_VALIDATION_RUN); /* switch the message object to threaded operation, if necessary */ +/* TODO:XXX: I think we must do this also if we have action queues! -- rgerhards, 2009-01-26 */ if(MainMsgQueType == QUEUETYPE_DIRECT || iMainMsgQueueNumWorkers > 1) { MsgEnableThreadSafety(); } |