chiark / gitweb /
+ * Documented that adns_rr_info _rr_hostaddr ( ) for address list
[adns.git] / src / reply.c
index 905d037598c0e31da3f80081a20f5e94809111e2..f1dabe1e52527fa31b9a2d591096e5252e5f5e6c 100644 (file)
@@ -119,7 +119,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
     return;
   case rcode_servfail:
     if (qu) adns__query_fail(qu,adns_s_rcodeservfail);
-    else adns__warn(ads,serv,qu,"server failure on unidentifiable query");
+    else adns__debug(ads,serv,qu,"server failure on unidentifiable query");
     return;
   case rcode_notimp:
     adns__warn(ads,serv,qu,"server claims not to implement our query");
@@ -198,7 +198,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
        qu->cname_begin= rdstart;
        qu->cname_dglen= dglen;
        st= adns__parse_domain(ads,serv,qu, &qu->vb,
-                              qu->flags & adns_qf_quoteok_cname ? pdf_quoteok : 0,
+                              qu->flags & adns_qf_quotefail_cname ? 0 : pdf_quoteok,
                               dgram,dglen, &rdstart,rdstart+rdlength);
        if (!qu->vb.used) goto x_truncated;
        if (st) { adns__query_fail(qu,st); return; }