diff options
author | Volker Lendecke <vl@samba.org> | 2015-12-06 11:32:46 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-12-08 23:01:28 +0100 |
commit | ea6de66b9c6c8f5d7e90c24ff02fe4626801a57c (patch) | |
tree | 648898e49a65dcd9f78c475d04afe032d4286576 /libcli/dns/dns.c | |
parent | dfceb51da87f1ebc2b75aaa714729bfbafcb1a2f (diff) | |
download | samba-ea6de66b9c6c8f5d7e90c24ff02fe4626801a57c.tar.gz |
libdns: Small cleanup
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/dns/dns.c')
-rw-r--r-- | libcli/dns/dns.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcli/dns/dns.c b/libcli/dns/dns.c index cc3f90d298a..7d066d802c1 100644 --- a/libcli/dns/dns.c +++ b/libcli/dns/dns.c @@ -99,7 +99,6 @@ 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); return req; } @@ -132,7 +131,6 @@ static void dns_udp_request_get_reply(struct tevent_req *subreq) } tevent_req_set_callback(subreq, dns_udp_request_done, req); - return; } static void dns_udp_request_done(struct tevent_req *subreq) |