diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-19 09:43:36 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-19 09:43:36 +0200 |
commit | f72bde2f701b1a1ff42273e8f9b07de47b480ce9 (patch) | |
tree | b94267445b82b080ef082d8b689d60e97cb5f196 /action.c | |
parent | bbe1f2688c4bd5cb1b66bb48af1ce5428d69c3b9 (diff) | |
download | rsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.tar.gz rsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.tar.xz rsyslog-f72bde2f701b1a1ff42273e8f9b07de47b480ce9.zip |
milestone: templates are now in config object
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1647,7 +1647,7 @@ addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStringReques /* Ok, we got everything, so it now is time to look up the template * (Hint: templates MUST be defined before they are used!) */ - if((pAction->ppTpl[i] = tplFind((char*)pTplName, strlen((char*)pTplName))) == NULL) { + if((pAction->ppTpl[i] = tplFind(ourConf, (char*)pTplName, strlen((char*)pTplName))) == NULL) { snprintf(errMsg, sizeof(errMsg) / sizeof(char), " Could not find template '%s' - action disabled\n", pTplName); |