git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying: CCSS macro
[exim.git]
/
src
/
src
/
filter.c
diff --git
a/src/src/filter.c
b/src/src/filter.c
index 3da616700a2259c640b9ea83500f844575f1339a..98b6bc3e84a72c57cb5987d036ba213f98fa2b15 100644
(file)
--- a/
src/src/filter.c
+++ b/
src/src/filter.c
@@
-1595,11
+1595,9
@@
switch (c->type)
debug_printf_indent(" Pattern = %s\n", exp[1]);
}
debug_printf_indent(" Pattern = %s\n", exp[1]);
}
- re = pcre_compile(CS exp[1],
+
if (!(
re = pcre_compile(CS exp[1],
PCRE_COPT | ((c->type == cond_matches)? PCRE_CASELESS : 0),
PCRE_COPT | ((c->type == cond_matches)? PCRE_CASELESS : 0),
- (const char **)®comp_error, ®comp_error_offset, NULL);
-
- if (re == NULL)
+ CCSS ®comp_error, ®comp_error_offset, NULL)))
{
*error_pointer = string_sprintf("error while compiling "
"regular expression \"%s\": %s at offset %d",
{
*error_pointer = string_sprintf("error while compiling "
"regular expression \"%s\": %s at offset %d",