diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:03:01 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-27 12:03:01 +0200 |
commit | bfdca9ea1835492bec363a36014f6c43bb1e8a56 (patch) | |
tree | 76b4ea35ed5cdf4ae79f7d52216327f773b810ce /action.c | |
parent | 2cccec9a9ff5a5d1b0db6f869a525c4b3c601c33 (diff) | |
parent | 6812fceef4f955610e6075c798f729e7a0617b24 (diff) | |
download | rsyslog-bfdca9ea1835492bec363a36014f6c43bb1e8a56.tar.gz rsyslog-bfdca9ea1835492bec363a36014f6c43bb1e8a56.tar.xz rsyslog-bfdca9ea1835492bec363a36014f6c43bb1e8a56.zip |
Merge branch 'beta'
Conflicts:
ChangeLog
configure.ac
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -327,10 +327,6 @@ rsRetVal actionConstruct(action_t **ppThis) ASSERT(ppThis != NULL); - if(cs.pszActionName != NULL) { - free(cs.pszActionName); - cs.pszActionName = NULL; - } CHKmalloc(pThis = (action_t*) calloc(1, sizeof(action_t))); pThis->iResumeInterval = 30; pThis->iResumeRetryCount = 0; @@ -2014,34 +2010,6 @@ initConfigVariables(void) } -/* save our config and create a new scope. Note that things are messed up if - * this is called while the config is already saved (we currently do not - * have a stack as the design is we need none! - * rgerhards, 2010-07-23 - */ -rsRetVal -actionNewScope(void) -{ - DEFiRet; - memcpy(&cs_save, &cs, sizeof(cs)); - initConfigVariables(); - RETiRet; -} - - -/* restore previously saved scope. - * rgerhards, 2010-07-23 - */ -rsRetVal -actionRestoreScope(void) -{ - DEFiRet; - memcpy(&cs, &cs_save, sizeof(cs)); - RETiRet; -} - - - rsRetVal actionNewInst(struct nvlst *lst, action_t **ppAction) { |