summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.c
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2015-09-09 14:37:48 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2015-10-30 22:34:41 +0100
commit2a385185e0c57bebda38b769579a012c6d38eb23 (patch)
treef05cbf08bf01e03478d98a754f0e45821f2990d7 /src/confdb/confdb.c
parent59d20aab85653e246093588f344a360e07f7b7b6 (diff)
downloadsssd-2a385185e0c57bebda38b769579a012c6d38eb23.tar.gz
sssd-2a385185e0c57bebda38b769579a012c6d38eb23.tar.xz
sssd-2a385185e0c57bebda38b769579a012c6d38eb23.zip
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 <jhrozek@redhat.com> (cherry picked from commit 877b92e80bde510d5cd9f03dbf01e2bcf73ab072)
Diffstat (limited to 'src/confdb/confdb.c')
-rw-r--r--src/confdb/confdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index d811f7cbf..a1bfc197f 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -1458,7 +1458,7 @@ int confdb_get_domain(struct confdb_ctx *cdb,
return ret;
}
- for (dom = doms; dom; dom = get_next_domain(dom, false)) {
+ for (dom = doms; dom; dom = get_next_domain(dom, 0)) {
if (strcasecmp(dom->name, name) == 0) {
*_domain = dom;
return EOK;