summaryrefslogtreecommitdiffstats
path: root/server/resolv/async_resolv.c
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:10 -0500
commit74447bc4656959eb3e3b55eeb9dfe66bffb104b5 (patch)
treeb6b8a40cb827c01fd259dcce6d7fb9e4b83369f8 /server/resolv/async_resolv.c
parent0c1c70e1f60d4263b93d63ba0179a998c3fcf554 (diff)
downloadsssd-74447bc4656959eb3e3b55eeb9dfe66bffb104b5.tar.gz
sssd-74447bc4656959eb3e3b55eeb9dfe66bffb104b5.tar.xz
sssd-74447bc4656959eb3e3b55eeb9dfe66bffb104b5.zip
Don't build the SRV and TXT parsing code except for tests
Diffstat (limited to 'server/resolv/async_resolv.c')
-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 afad4107b..f778d1f41 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