From d471e71adabdad4fba8b59c4017a1c5f1f111073 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 7 Mar 2008 16:34:51 +0000 Subject: fixed potential infinite loop condition when module load failed on startup --- msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'msg.c') diff --git a/msg.c b/msg.c index 1076feae..d40087ad 100644 --- a/msg.c +++ b/msg.c @@ -1771,7 +1771,7 @@ char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe, dbgprintf("debug: String to match for regex is: %s\n", pRes); - if(objUse(regexp, "regexp") == RS_RET_OK) { + if(objUse(regexp, "lmregexp") == RS_RET_OK) { if (0 != regexp.regexec(&pTpe->data.field.re, pRes, nmatch, pmatch, 0)) { /* we got no match! */ -- cgit v1.2.3