From c3237b2165f8300955db7ada200fd916c983c788 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 14 Aug 2017 02:00:33 +0200 Subject: [PATCH] filter: Simplify FOR_EACH_FILTER(). Use the FILTER_CMD() macro rather than open-coding it. --- filter_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter_common.c b/filter_common.c index b406951e..5533d4dc 100644 --- a/filter_common.c +++ b/filter_common.c @@ -21,7 +21,7 @@ #include "string.h" /** Iterate over all filters. */ -#define FOR_EACH_FILTER(j) for (j = 1; lls_cmd(j, filter_cmd_suite); j++) +#define FOR_EACH_FILTER(j) for (j = 1; FILTER_CMD(j); j++) /** * Obtain a reference to a filter structure. -- 2.39.5