summaryrefslogtreecommitdiff
path: root/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexp.c')
-rw-r--r--regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexp.c b/regexp.c
index 57db548..dd6856c 100644
--- a/regexp.c
+++ b/regexp.c
@@ -38,13 +38,13 @@ void cRegexp::Compile()
int erroffset;
re = pcre_compile(regexp, 0, &error, &erroffset, NULL);
if (error) {
- esyslog("PCRE compile error: %s at offset %i", error, erroffset);
+ error("PCRE compile error: %s at offset %i", error, erroffset);
enabled = false;
}
else {
sd = pcre_study(re, 0, (const char **)&error);
if (error)
- esyslog("PCRE study error: %s", error);
+ error("PCRE study error: %s", error);
}
}