X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/92404a1a9802bbdfca44cfc2b9262ec2b0cbde9e..a71b65b15c3d3f1e8ddae3831f84e2b0f137c3cd:/authd/providers/blacklist.c diff --git a/authd/providers/blacklist.c b/authd/providers/blacklist.c index 2579b655..769a34a4 100644 --- a/authd/providers/blacklist.c +++ b/authd/providers/blacklist.c @@ -421,11 +421,11 @@ blacklists_cancel(struct auth_client *auth) static void blacklists_destroy(void) { - rb_dlink_node *ptr, *nptr; + rb_dictionary_iter iter; + struct auth_client *auth; - RB_DLINK_FOREACH_SAFE(ptr, nptr, auth_clients.head) + RB_DICTIONARY_FOREACH(auth, &iter, auth_clients) { - struct auth_client *auth = ptr->data; blacklists_cancel(auth); }