summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-02 16:24:54 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-03 14:42:00 +0200
commit44fc7e53b403d45576ab61d2dea4608e323ed332 (patch)
treea5af545b70786be1af7bbd0c3299c41aaed48279 /src/providers/ipa
parent584eda085e83a428f2c39dadf0d7adeaff5c87f4 (diff)
downloadsssd-44fc7e53b403d45576ab61d2dea4608e323ed332.tar.gz
sssd-44fc7e53b403d45576ab61d2dea4608e323ed332.tar.bz2
sssd-44fc7e53b403d45576ab61d2dea4608e323ed332.zip
Centralize resolv_init, remove resolv context list
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_dyndns.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/providers/ipa/ipa_dyndns.c b/src/providers/ipa/ipa_dyndns.c
index 632ed26a..a31067cd 100644
--- a/src/providers/ipa/ipa_dyndns.c
+++ b/src/providers/ipa/ipa_dyndns.c
@@ -143,14 +143,7 @@ errno_t ipa_dyndns_init(struct be_ctx *be_ctx,
{
errno_t ret;
- ret = resolv_init(be_ctx, be_ctx->ev,
- dp_opt_get_int(be_ctx->be_res->opts,
- DP_RES_OPT_RESOLVER_OP_TIMEOUT),
- &ctx->resolv);
- if (ret != EOK) {
- DEBUG(1, ("Could not set up resolver context\n"));
- return ret;
- }
+ ctx->resolv = be_ctx->be_res->resolv;
ret = be_add_online_cb(be_ctx, be_ctx,
ipa_dyndns_update,