summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-07 10:44:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-07 10:44:46 +0200
commit68877497a131d5b7c5b1588b771a623fc0ad41c1 (patch)
tree75f2267c053ff9bed596d6b46787045cf212f0ed /runtime/conf.c
parentbbb0d7c9d1b63dfd78f0ab33fd014909b20bf785 (diff)
downloadrsyslog-68877497a131d5b7c5b1588b771a623fc0ad41c1.tar.gz
rsyslog-68877497a131d5b7c5b1588b771a623fc0ad41c1.tar.xz
rsyslog-68877497a131d5b7c5b1588b771a623fc0ad41c1.zip
first shot at action state machine implemention (untested)
I am commiting it so that the code is visible, but will no begin with the test environment.
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index 27ab8bb4..c776ef46 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -1080,7 +1080,7 @@ static rsRetVal cflineDoAction(uchar **p, action_t **ppAction)
dbgprintf("module is incompatible with RepeatedMsgReduction - turned off\n");
pAction->f_ReduceRepeated = 0;
}
- pAction->bEnabled = 1; /* action is enabled */
+ pAction->eState = ACT_STATE_RDY; /* action is enabled */
iNbrActions++; /* one more active action! */
}
break;