summaryrefslogtreecommitdiff
path: root/src/tools/sss_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_cache.c')
-rw-r--r--src/tools/sss_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index 2fb75ad6..db6c792c 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -103,7 +103,7 @@ int main(int argc, const char *argv[])
goto done;
}
- for (dinfo = tctx->domains; dinfo; dinfo = dinfo->next) {
+ for (dinfo = tctx->domains; dinfo; dinfo = get_next_domain(dinfo, false)) {
sysdb = dinfo->sysdb;
/* Update filters for each domain */