diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-24 15:42:51 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-26 15:29:12 +0100 |
commit | 802220cc4ef437d8f169c51c7ce073a51f507b92 (patch) | |
tree | 157300c0f4e35fdd4d3d20fd31884d831cae0d96 /src/tests/ipa_ldap_opt-tests.c | |
parent | d07cb60c1f4b9a7e1618b50ca2fc817298e5db12 (diff) | |
download | sssd-802220cc4ef437d8f169c51c7ce073a51f507b92.tar.gz sssd-802220cc4ef437d8f169c51c7ce073a51f507b92.tar.xz sssd-802220cc4ef437d8f169c51c7ce073a51f507b92.zip |
DP: Provide separate dp_copy_defaults function
https://fedorahosted.org/sssd/ticket/2257
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
(cherry picked from commit 90afedb00608547ae1f32aa7aafd552c4b306909)
Diffstat (limited to 'src/tests/ipa_ldap_opt-tests.c')
-rw-r--r-- | src/tests/ipa_ldap_opt-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ipa_ldap_opt-tests.c b/src/tests/ipa_ldap_opt-tests.c index 40afa5cba..25a094082 100644 --- a/src/tests/ipa_ldap_opt-tests.c +++ b/src/tests/ipa_ldap_opt-tests.c @@ -170,7 +170,7 @@ START_TEST(test_copy_opts) tmp_ctx = talloc_new(NULL); fail_unless(tmp_ctx != NULL, "talloc_new failed"); - ret = dp_copy_options(tmp_ctx, ad_def_ldap_opts, SDAP_OPTS_BASIC, &opts); + ret = dp_copy_defaults(tmp_ctx, ad_def_ldap_opts, SDAP_OPTS_BASIC, &opts); fail_unless(ret == EOK, "[%s]", strerror(ret)); for (int i=0; i < SDAP_OPTS_BASIC; i++) { |