On Wed, Jan 11, 2023 at 06:34:01PM +0100, Claudio Jeker wrote: > Introduce rde_filterstate_init() and rde_filterstate_copy() for the cases > where either the filterstate needs to be initalized or copied from an > other filterstate. Also switch rde_filterstate_prep() to take a struct > prefix as argument since this is the case for all other call sites. > I think the result is much neater code.
Yes, that's much better. I was going to suggest something along these lines but rejected my idea since I failed to realize that ROA_NOTFOUND == 0. ok tb
