diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-07 10:44:46 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-07 10:44:46 +0200 |
commit | 68877497a131d5b7c5b1588b771a623fc0ad41c1 (patch) | |
tree | 75f2267c053ff9bed596d6b46787045cf212f0ed /runtime/conf.c | |
parent | bbb0d7c9d1b63dfd78f0ab33fd014909b20bf785 (diff) | |
download | rsyslog-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.c | 2 |
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; |