From 4935a0d561b57f46cdd0649b3bb1063f7e897f00 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 18 Apr 2016 15:06:09 +0200 Subject: segtree: special handling for the first non-matching segment Add the first non-matching segment if the set is empty or if the set becomes empty after the element removal. Signed-off-by: Pablo Neira Ayuso --- include/expression.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/expression.h') diff --git a/include/expression.h b/include/expression.h index 62a1e517..d44e804a 100644 --- a/include/expression.h +++ b/include/expression.h @@ -365,7 +365,7 @@ extern struct expr *list_expr_alloc(const struct location *loc); extern struct expr *set_expr_alloc(const struct location *loc); extern int set_to_intervals(struct list_head *msgs, struct set *set, - struct expr *init); + struct expr *init, bool add); extern struct expr *mapping_expr_alloc(const struct location *loc, struct expr *from, struct expr *to); -- cgit v1.2.3