summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-06-13 15:58:59 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-07-11 16:52:52 -0400
commit570c8a9351b28582301d2ce6b5de3b23f72ee583 (patch)
tree9f4f865391aeb0c8abf3b02ffa481d6f1174369f /src/providers
parent97c93859e310bc8e4ad5f011e42a5fccd4a7f369 (diff)
downloadsssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.tar.gz
sssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.tar.bz2
sssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.zip
Do not hardcode default resolver timeout
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider_fo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider_fo.c b/src/providers/data_provider_fo.c
index 58468c82..8427d297 100644
--- a/src/providers/data_provider_fo.c
+++ b/src/providers/data_provider_fo.c
@@ -117,7 +117,7 @@ int be_init_failover(struct be_ctx *ctx)
ret = confdb_get_int(ctx->cdb, ctx, ctx->conf_path,
CONFDB_DOMAIN_RESOLV_TIMEOUT,
- 5, &fo_timeout);
+ RESOLV_DEFAULT_TIMEOUT, &fo_timeout);
if (ret != EOK) {
return ret;
}