From 877b92e80bde510d5cd9f03dbf01e2bcf73ab072 Mon Sep 17 00:00:00 2001 From: Michal Židek Date: Wed, 9 Sep 2015 14:37:48 +0200 Subject: util: Update get_next_domain's interface Update get next domain to be able to include disbled domains and change the interface to accept flags instead of multiple booleans. Ticket: https://fedorahosted.org/sssd/ticket/2673 Reviewed-by: Jakub Hrozek --- src/tools/sss_debuglevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/sss_debuglevel.c') diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c index 333de219..e1467c01 100644 --- a/src/tools/sss_debuglevel.c +++ b/src/tools/sss_debuglevel.c @@ -261,7 +261,7 @@ errno_t get_confdb_sections(TALLOC_CTX *ctx, struct confdb_ctx *confdb, for (domain = domain_list; domain; - domain = get_next_domain(domain, false)) { + domain = get_next_domain(domain, 0)) { domain_count++; } @@ -286,7 +286,7 @@ errno_t get_confdb_sections(TALLOC_CTX *ctx, struct confdb_ctx *confdb, for (domain = domain_list; domain; - domain = get_next_domain(domain, false), i++) { + domain = get_next_domain(domain, 0), i++) { sections[i] = talloc_asprintf(tmp_ctx, CONFDB_DOMAIN_PATH_TMPL, domain->name); if (sections[i] == NULL) { -- cgit