diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-15 07:48:07 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-15 07:48:07 +0000 |
commit | 70d90f5bae2728faed319a03f75e64a50f88a159 (patch) | |
tree | 2803bd80fcc115e86b5ea55f4ea3f427905f854b /syslogd.c | |
parent | 15904a35388aafcda76ed44caab9222619901dd4 (diff) | |
download | rsyslog-70d90f5bae2728faed319a03f75e64a50f88a159.tar.gz rsyslog-70d90f5bae2728faed319a03f75e64a50f88a159.tar.xz rsyslog-70d90f5bae2728faed319a03f75e64a50f88a159.zip |
did some more work on omlibdbi, but did not yet get libdbi working. I guess
its a compile problem, but have not found it so far.
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3753,6 +3753,7 @@ rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStr * does not request any templates. This sounds unlikely, but an actual example is * the discard action, which does not require a string. -- rgerhards, 2007-07-30 */ +RUNLOG_VAR("%d", pAction->iNumTpls); if(pAction->iNumTpls > 0) { /* we first need to create the template pointer array */ if((pAction->ppTpl = calloc(pAction->iNumTpls, sizeof(struct template *))) == NULL) { @@ -3766,6 +3767,7 @@ rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStr * template (Hint: templates MUST be defined before they are * used!) */ +RUNLOG_VAR("%s", pTplName); if((pAction->ppTpl[i] = tplFind((char*)pTplName, strlen((char*)pTplName))) == NULL) { snprintf(errMsg, sizeof(errMsg) / sizeof(char), " Could not find template '%s' - action disabled\n", |