diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-19 17:06:04 +0300 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-21 00:03:21 +0200 |
commit | 76602b9fbe1b292c5446a44604f49f3122666f9c (patch) | |
tree | 6508a49bede021b01f74bf385392089d91b59977 /src/providers/data_provider_opts.c | |
parent | 0472109c9b2f44ed31f8dc31b4aef787294f8f89 (diff) | |
download | sssd-76602b9fbe1b292c5446a44604f49f3122666f9c.tar.gz sssd-76602b9fbe1b292c5446a44604f49f3122666f9c.tar.xz sssd-76602b9fbe1b292c5446a44604f49f3122666f9c.zip |
Fix dp_copy_options
Diffstat (limited to 'src/providers/data_provider_opts.c')
-rw-r--r-- | src/providers/data_provider_opts.c | 2 |
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, |