summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-07 17:26:58 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-07 17:26:58 +0000
commit4db62823e7a8e41e829c08a461f5e6b2193a6d62 (patch)
treee75cd4d21d17d0e6d4964f4e5b25568b75abaef9 /template.c
parentd471e71adabdad4fba8b59c4017a1c5f1f111073 (diff)
downloadrsyslog-4db62823e7a8e41e829c08a461f5e6b2193a6d62.tar.gz
rsyslog-4db62823e7a8e41e829c08a461f5e6b2193a6d62.tar.xz
rsyslog-4db62823e7a8e41e829c08a461f5e6b2193a6d62.zip
renamed library module file names to lm*, so that they match the overall
scheme (like im* and om*)
Diffstat (limited to 'template.c')
-rw-r--r--template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/template.c b/template.c
index 67be4140..847b1265 100644
--- a/template.c
+++ b/template.c
@@ -627,7 +627,7 @@ static int do_Parameter(unsigned char **pp, struct template *pTpl)
/* Now i compile the regex */
/* Remember that the re is an attribute of the Template entry */
- if((iRetLocal = objUse(regexp, "lmregexp")) == RS_RET_OK) {
+ if((iRetLocal = objUse(regexp, LM_REGEXP_FILENAME)) == RS_RET_OK) {
if(regexp.regcomp(&(pTpe->data.field.re), (char*) regex_char, 0) != 0) {
dbgprintf("error: can not compile regex: '%s'\n", regex_char);
pTpe->data.field.has_regex = 2;
@@ -636,7 +636,7 @@ static int do_Parameter(unsigned char **pp, struct template *pTpl)
/* regexp object could not be loaded */
dbgprintf("error %d trying to load regexp library - this may be desired and thus OK",
iRetLocal);
- errmsg.LogError(NO_ERRCODE, "regexp libraray could not be loaded (error %d), regexp"
+ errmsg.LogError(NO_ERRCODE, "regexp library could not be loaded (error %d), regexp"
"ignored", iRetLocal);
pTpe->data.field.has_regex = 2;
}