mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
report the result of dns_adb_createfind
This commit is contained in:
parent
0da2ceec76
commit
837633db56
1 changed files with 6 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: adb_test.c,v 1.70 2009/09/02 23:48:01 tbox Exp $ */
|
||||
/* $Id: adb_test.c,v 1.71 2011/08/30 21:50:34 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -264,9 +264,9 @@ lookup(const char *target) {
|
|||
result = dns_adb_createfind(adb, t2, lookup_callback, client,
|
||||
&client->name, dns_rootname, 0, options,
|
||||
now, NULL, view->dstport, &client->find);
|
||||
#if 0
|
||||
check_result(result, "dns_adb_createfind()");
|
||||
#endif
|
||||
if (result != ISC_R_SUCCESS)
|
||||
printf("DNS_ADB_CREATEFIND -> %s\n", dns_result_totext(result));
|
||||
// check_result(result, "dns_adb_createfind()");
|
||||
dns_adb_dumpfind(client->find, stderr);
|
||||
|
||||
if ((client->find->options & DNS_ADBFIND_WANTEVENT) != 0) {
|
||||
|
|
@ -414,7 +414,9 @@ main(int argc, char **argv) {
|
|||
dns_view_detach(&view);
|
||||
adb = NULL;
|
||||
|
||||
fprintf(stderr, "Destroying socket manager\n");
|
||||
isc_socketmgr_destroy(&socketmgr);
|
||||
fprintf(stderr, "Destroying timer manager\n");
|
||||
isc_timermgr_destroy(&timermgr);
|
||||
|
||||
fprintf(stderr, "Destroying task manager\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue