summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-06-19 17:06:04 +0300
committerJakub Hrozek <jhrozek@redhat.com>2013-06-21 00:03:21 +0200
commit76602b9fbe1b292c5446a44604f49f3122666f9c (patch)
tree6508a49bede021b01f74bf385392089d91b59977
parent0472109c9b2f44ed31f8dc31b4aef787294f8f89 (diff)
downloadsssd-76602b9fbe1b292c5446a44604f49f3122666f9c.tar.gz
sssd-76602b9fbe1b292c5446a44604f49f3122666f9c.tar.bz2
sssd-76602b9fbe1b292c5446a44604f49f3122666f9c.zip
Fix dp_copy_options
-rw-r--r--src/providers/data_provider_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider_opts.c b/src/providers/data_provider_opts.c
index 95e41334..0edadecc 100644
--- a/src/providers/data_provider_opts.c
+++ b/src/providers/data_provider_opts.c
@@ -201,7 +201,7 @@ int dp_copy_options(TALLOC_CTX *memctx,
if (src_opts[i].val.boolean) {
ret = dp_opt_set_bool(opts, i, src_opts[i].val.boolean);
} else if (src_opts[i].def_val.boolean) {
- ret = dp_opt_set_int(opts, i, src_opts[i].def_val.boolean);
+ ret = dp_opt_set_bool(opts, i, src_opts[i].def_val.boolean);
}
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE,