summaryrefslogtreecommitdiff
path: root/libcli/dns/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/dns/dns.c')
-rw-r--r--libcli/dns/dns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcli/dns/dns.c b/libcli/dns/dns.c
index ac0c9e49959..da65ce4c4ff 100644
--- a/libcli/dns/dns.c
+++ b/libcli/dns/dns.c
@@ -39,8 +39,8 @@ struct dns_udp_request_state {
};
/* Declare callback functions used below. */
-static void dns_request_get_reply(struct tevent_req *subreq);
-static void dns_request_done(struct tevent_req *subreq);
+static void dns_udp_request_get_reply(struct tevent_req *subreq);
+static void dns_udp_request_done(struct tevent_req *subreq);
struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
@@ -92,11 +92,11 @@ struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- tevent_req_set_callback(subreq, dns_request_get_reply, req);
+ tevent_req_set_callback(subreq, dns_udp_request_get_reply, req);
return req;
}
-static void dns_request_get_reply(struct tevent_req *subreq)
+static void dns_udp_request_get_reply(struct tevent_req *subreq)
{
struct tevent_req *req = tevent_req_callback_data(subreq,
struct tevent_req);
@@ -123,11 +123,11 @@ static void dns_request_get_reply(struct tevent_req *subreq)
return;
}
- tevent_req_set_callback(subreq, dns_request_done, req);
+ tevent_req_set_callback(subreq, dns_udp_request_done, req);
return;
}
-static void dns_request_done(struct tevent_req *subreq)
+static void dns_udp_request_done(struct tevent_req *subreq)
{
struct tevent_req *req = tevent_req_callback_data(subreq,
struct tevent_req);