dns_server: Don't call tevent_req_finish twice
commit938636886c0bb2c0cc66976c4c6dc763d589335c
authorVolker Lendecke <vl@samba.org>
Fri, 7 Aug 2015 05:58:20 +0000 (7 07:58 +0200)
committerRalph Böhme <slow@samba.org>
Fri, 7 Aug 2015 07:52:13 +0000 (7 09:52 +0200)
treec6d9193c4d0a6628416f386777bacaae3d127bf4
parent7258061e5e9cd4b68f1c010c3667c3fd2b0663cc
dns_server: Don't call tevent_req_finish twice

Both tevent_req_werror and tevent_req_done call tevent_req_finish on a request.
This should not be done. We should only call either of both.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/dns_server/dns_query.c