From 59264f7e1c1d750cba249aada3696c25ec20bcc4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 7 Dec 2009 19:28:33 +0100 Subject: Don't build the SRV and TXT parsing code except for tests --- server/resolv/async_resolv.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/resolv/async_resolv.c') 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 -- cgit