summaryrefslogtreecommitdiffstats
path: root/runtime/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-07-27 11:38:25 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-07-27 11:38:25 +0200
commitd460c1cd5d3c13ddc70f1d21ae4befa35b1ac627 (patch)
tree2c80febcf0c8d3920a715b85742dfbad66ccdd07 /runtime/module-template.h
parentd18b238f16a7ff4dbb998314b6d76ffb8b2acf59 (diff)
downloadrsyslog-d460c1cd5d3c13ddc70f1d21ae4befa35b1ac627.tar.gz
rsyslog-d460c1cd5d3c13ddc70f1d21ae4befa35b1ac627.tar.xz
rsyslog-d460c1cd5d3c13ddc70f1d21ae4befa35b1ac627.zip
fixed regression from last commit
config variables were not properly initialized
Diffstat (limited to 'runtime/module-template.h')
-rw-r--r--runtime/module-template.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/module-template.h b/runtime/module-template.h
index 95ac2863..f0084ea1 100644
--- a/runtime/module-template.h
+++ b/runtime/module-template.h
@@ -521,6 +521,10 @@ rsRetVal modInit##uniqName(int iIFVersRequested __attribute__((unused)), int *ip
/* now get the obj interface so that we can access other objects */ \
CHKiRet(pObjGetObjInterface(&obj));
+/* do those initializations necessary for scoping */
+#define SCOPINGmodInit \
+ initConfVars();
+
#define ENDmodInit \
finalize_it:\
*pQueryEtryPt = queryEtryPt;\