mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 05:00:42 +01:00
Set default value of eParamPassing explicitly
This commit is contained in:
parent
ba4cc3298c
commit
1267ee2879
1
action.c
1
action.c
@ -349,6 +349,7 @@ rsRetVal actionConstruct(action_t **ppThis)
|
|||||||
pThis->bReportSuspension = -1; /* indicate "not yet set" */
|
pThis->bReportSuspension = -1; /* indicate "not yet set" */
|
||||||
pThis->bReportSuspensionCont = -1; /* indicate "not yet set" */
|
pThis->bReportSuspensionCont = -1; /* indicate "not yet set" */
|
||||||
pThis->bJustResumed = 0;
|
pThis->bJustResumed = 0;
|
||||||
|
pThis->eParamPassing = ACT_STRING_PASSING;
|
||||||
pThis->tLastOccur = datetime.GetTime(NULL); /* done once per action on startup only */
|
pThis->tLastOccur = datetime.GetTime(NULL); /* done once per action on startup only */
|
||||||
pthread_mutex_init(&pThis->mutActExec, NULL);
|
pthread_mutex_init(&pThis->mutActExec, NULL);
|
||||||
pthread_mutex_init(&pThis->mutAction, NULL);
|
pthread_mutex_init(&pThis->mutAction, NULL);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user