summaryrefslogtreecommitdiffstats
path: root/plugins/omelasticsearch/omelasticsearch.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-01 17:05:07 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-01 17:05:07 +0100
commite5ef73eb25c8dda2e19c593ad2fc0a960aa8873b (patch)
tree92f5ecb33cfd7b1d5fa37339aae42609d38f11fb /plugins/omelasticsearch/omelasticsearch.c
parent20c57a6d70555c321476f8aba30722fe7af56d03 (diff)
downloadrsyslog-e5ef73eb25c8dda2e19c593ad2fc0a960aa8873b.tar.gz
rsyslog-e5ef73eb25c8dda2e19c593ad2fc0a960aa8873b.tar.bz2
rsyslog-e5ef73eb25c8dda2e19c593ad2fc0a960aa8873b.zip
bugfix: invalid rsyslog-internal macro API use
This had no bad effect, because the macro did the same as the one that should have been used.
Diffstat (limited to 'plugins/omelasticsearch/omelasticsearch.c')
-rw-r--r--plugins/omelasticsearch/omelasticsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omelasticsearch/omelasticsearch.c b/plugins/omelasticsearch/omelasticsearch.c
index a5833b15..982f4318 100644
--- a/plugins/omelasticsearch/omelasticsearch.c
+++ b/plugins/omelasticsearch/omelasticsearch.c
@@ -773,7 +773,7 @@ CODESTARTnewActInst
if(pData->dynSrchType) ++iNumTpls;
if(pData->dynParent) ++iNumTpls;
DBGPRINTF("omelasticsearch: requesting %d templates\n", iNumTpls);
- CODE_STD_STRING_REQUESTparseSelectorAct(iNumTpls)
+ CODE_STD_STRING_REQUESTnewActInst(iNumTpls)
CHKiRet(OMSRsetEntry(*ppOMSR, 0, (uchar*)strdup((pData->tplName == NULL) ?
" StdJSONFmt" : (char*)pData->tplName),