From 4db62823e7a8e41e829c08a461f5e6b2193a6d62 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 7 Mar 2008 17:26:58 +0000 Subject: renamed library module file names to lm*, so that they match the overall scheme (like im* and om*) --- template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template.c') 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; } -- cgit