]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/dns: dns_udp_request_get_reply -> dns_udp_request_sent
authorVolker Lendecke <vl@samba.org>
Mon, 20 Apr 2026 13:56:34 +0000 (15:56 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 29 Apr 2026 16:37:36 +0000 (16:37 +0000)
More in line with typical async code right now

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
libcli/dns/dns.c

index 6fd3667ef382e916bb159a40a5203a7a14c7ca07..d59f483ab0a5d07b5cdbc326546179043a643c8e 100644 (file)
@@ -43,7 +43,7 @@ struct dns_udp_request_state {
 #define DNS_REQUEST_TIMEOUT 10
 
 /* Declare callback functions used below. */
-static void dns_udp_request_get_reply(struct tevent_req *subreq);
+static void dns_udp_request_sent(struct tevent_req *subreq);
 static void dns_udp_request_done(struct tevent_req *subreq);
 
 static struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx,
@@ -103,11 +103,11 @@ static struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx,
                return tevent_req_post(req, ev);
        }
 
-       tevent_req_set_callback(subreq, dns_udp_request_get_reply, req);
+       tevent_req_set_callback(subreq, dns_udp_request_sent, req);
        return req;
 }
 
-static void dns_udp_request_get_reply(struct tevent_req *subreq)
+static void dns_udp_request_sent(struct tevent_req *subreq)
 {
        struct tevent_req *req = tevent_req_callback_data(subreq,
                                                struct tevent_req);