diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-07 17:26:58 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-07 17:26:58 +0000 |
commit | 4db62823e7a8e41e829c08a461f5e6b2193a6d62 (patch) | |
tree | e75cd4d21d17d0e6d4964f4e5b25568b75abaef9 /template.c | |
parent | d471e71adabdad4fba8b59c4017a1c5f1f111073 (diff) | |
download | rsyslog-4db62823e7a8e41e829c08a461f5e6b2193a6d62.tar.gz rsyslog-4db62823e7a8e41e829c08a461f5e6b2193a6d62.tar.bz2 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |