Set default value of eParamPassing explicitly

This commit is contained in:
Tomas Heinrich 2014-07-02 15:16:32 +02:00 committed by Rainer Gerhards
parent ba4cc3298c
commit 1267ee2879

View File

@ -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);