/* -*-c-*-
*
- * $Id: bres-adns.c,v 1.2 2003/12/14 14:46:38 mdw Exp $
+ * $Id$
*
* Background reverse name resolution (ADNS version)
*
* must be licensed under the full GPL.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: bres-adns.c,v $
- * Revision 1.2 2003/12/14 14:46:38 mdw
- * Qualify name given to @bres_byname@.
- *
- * Revision 1.1 2003/12/13 20:37:59 mdw
- * Add adns support in background resolver.
- *
- */
-
#ifndef HAVE_ADNS
# error "You need the ADNS library to compile this file."
#endif
case adns_r_addr:
assert(a->type == adns_r_addr);
report(rc, a, a->rrs.addr, a->nrrs, &a->owner, 1);
- free(rc->u.name);
+ xfree(rc->u.name);
free(a);
break;
case adns_r_ptr:
{
int e;
- if ((e = adns_init(&ads, 0, 0)) != 0) {
+ if ((e = adns_init(&ads, adns_if_noautosys, 0)) != 0) {
moan("adns_init failed: resolver won't work");
return;
}