diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/responder/common/responder_get_domains.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/responder/common/responder_get_domains.c b/src/responder/common/responder_get_domains.c index 592cd8dc..a976d272 100644 --- a/src/responder/common/responder_get_domains.c +++ b/src/responder/common/responder_get_domains.c @@ -29,7 +29,10 @@ static DBusMessage *sss_dp_get_domains_msg(void *pvt); struct sss_dp_domains_info { struct sss_domain_info *dom; const char *hint; - bool force; + /* The DBus API expects its own Boolean type when formatting argument + * with DBUS_TYPE_BOOLEAN + */ + dbus_bool_t force; }; static struct tevent_req * @@ -55,7 +58,7 @@ get_subdomains_send(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx, goto fail; } info->hint = hint; - info->force = force; + info->force = force ? TRUE : FALSE; info->dom = dom; key = talloc_asprintf(state, "domains@%s", dom->name); |