summaryrefslogtreecommitdiffstats
path: root/dirty.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-27 17:57:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-27 17:57:47 +0200
commit6093f3110306e0575d10d09807da1e6895af4eba (patch)
treeec25293b4cb9c4c88799538609c15fae726f73cc /dirty.h
parentee346d8aec05bc79600f7d5280d88ab45d2bcab5 (diff)
downloadrsyslog-6093f3110306e0575d10d09807da1e6895af4eba.tar.gz
rsyslog-6093f3110306e0575d10d09807da1e6895af4eba.tar.xz
rsyslog-6093f3110306e0575d10d09807da1e6895af4eba.zip
step: moved main message queue activation to after priv drop
Diffstat (limited to 'dirty.h')
-rw-r--r--dirty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirty.h b/dirty.h
index f27c5780..a831dd06 100644
--- a/dirty.h
+++ b/dirty.h
@@ -43,6 +43,7 @@ extern int MarkInterval;
extern int repeatinterval[2];
extern qqueue_t *pMsgQueue; /* the main message queue */
extern int iConfigVerify; /* is this just a config verify run? */
+extern int bHaveMainQueue;
#define MAXREPEAT ((int)((sizeof(repeatinterval) / sizeof(repeatinterval[0])) - 1))
#define REPEATTIME(f) ((f)->f_time + repeatinterval[(f)->f_repeatcount])
#define BACKOFF(f) { if (++(f)->f_repeatcount > MAXREPEAT) \