How to use "dns_new()" (I get "dns_new: Assertion `(copy->dnsc_flags & DNS_INITED)' failed")

Iñaki Baz Castillo ibc at aliax.net
Fri Feb 4 21:39:14 MSK 2011


Hi, the following very simple program fails:

--------------------------------------------------
int main(int argc, char **argv) {
  struct dns_ctx *dns_context;

  dns_context = dns_new(NULL);
}
--------------------------------------------------

When running it:

  dns_new: Assertion `(copy->dnsc_flags & DNS_INITED)' failed.




More information about the udns mailing list