Changes in filter.c [9711a6e:cdc6ff1]
Legend:
- Unmodified
- Added
- Removed
-
filter.c
r9711a6e rcdc6ff1 3 3 4 4 static const char fileIdent[] = "$Id$"; 5 6 #define OWL_FILTER_MAXRECURSE 20 5 7 6 8 int owl_filter_init_fromstring(owl_filter *f, char *name, char *string) … … 48 50 /* Now check for recursion. */ 49 51 if (owl_filter_is_toodeep(f)) { 50 owl_function_error("Filter loop !");52 owl_function_error("Filter loop or exceeds recursion depth"); 51 53 owl_filter_free(f); 52 54 return(-1); … … 311 313 int numfailed=0; 312 314 owl_message m; 313 owl_filter f1, f2, f3, f4 , f5;315 owl_filter f1, f2, f3, f4; 314 316 315 317 owl_list_create(&(g.filterlist)); … … 363 365 FAIL_UNLESS("mutual recursion", owl_filter_init_fromstring(&f4, "f4", "filter f3")); 364 366 365 /* support referencing a filter several times */366 FAIL_UNLESS("DAG", !owl_filter_init_fromstring(&f5, "dag", "filter f1 or filter f1"));367 368 367 return 0; 369 368 }
Note: See TracChangeset
for help on using the changeset viewer.