summaryrefslogtreecommitdiff
path: root/server/resolv
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-12-07 19:28:33 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-09 10:05:18 -0500
commit59264f7e1c1d750cba249aada3696c25ec20bcc4 (patch)
treeccccd2937fa669e0b72412516c5430246d8ee870 /server/resolv
parenta3b55a024b03321be969a892cb0992bad14266af (diff)
downloadsssd-59264f7e1c1d750cba249aada3696c25ec20bcc4.tar.gz
sssd-59264f7e1c1d750cba249aada3696c25ec20bcc4.tar.bz2
sssd-59264f7e1c1d750cba249aada3696c25ec20bcc4.zip
Don't build the SRV and TXT parsing code except for tests
Diffstat (limited to 'server/resolv')
-rw-r--r--server/resolv/async_resolv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/resolv/async_resolv.c b/server/resolv/async_resolv.c
index afad4107..f778d1f4 100644
--- a/server/resolv/async_resolv.c
+++ b/server/resolv/async_resolv.c
@@ -442,6 +442,11 @@ ares_gethostbyname_wakeup(struct tevent_req *subreq)
state->family, resolv_gethostbyname_done, req);
}
+/* SRV and TXT parsing is not used anywhere in the code yet, so we disable it
+ * for now
+ */
+#ifdef BUILD_TXT_SRV
+
/*
* A simple helper function that will take an array of struct ares_srv_reply that
* was allocated by malloc() in c-ares and copies it using talloc. The old one
@@ -820,3 +825,4 @@ ares_gettxt_wakeup(struct tevent_req *subreq)
ns_c_in, ns_t_txt, resolv_gettxt_done, req);
}
+#endif