Check that there is a value to setup. Fixes #15470.
2002-04-10 Not Zed <NotZed@Ximian.com> * filter-input.c (validate): Check that there is a value to setup. Fixes #15470. svn path=/trunk/; revision=16420
This commit is contained in:
@ -7,6 +7,9 @@
|
||||
|
||||
2002-04-10 Not Zed <NotZed@Ximian.com>
|
||||
|
||||
* filter-input.c (validate): Check that there is a value to
|
||||
setup. Fixes #15470.
|
||||
|
||||
* filtertypes.xml: Added closing ) for "not starts with" subject
|
||||
rule.
|
||||
Added closing ) for all the other broken rules too ...
|
||||
|
@ -176,7 +176,7 @@ validate (FilterElement *fe)
|
||||
FilterInput *fi = (FilterInput *)fe;
|
||||
gboolean valid = TRUE;
|
||||
|
||||
if (!strcmp (fi->type, "regex")) {
|
||||
if (fi->values && !strcmp (fi->type, "regex")) {
|
||||
regex_t regexpat; /* regex patern */
|
||||
gint regerr;
|
||||
char *text;
|
||||
|
Reference in New Issue
Block a user