chiark / gitweb /
Remove NULL queries. Remove _mf queries (master file format conversion).
[adns.git] / src / query.c
index 92bb2282a6265084ace73d820dd60c2db8018afa..27eb2218cade44430e8d5e2695da2313b5b244f0 100644 (file)
@@ -126,7 +126,7 @@ int adns_submit(adns_state ads,
   adns__vbuf_init(&vb);
 
   ol= strlen(owner);
-  if (ol<=1 || ol>DNS_MAXDOMAIN+1) { stat= adns_s_invaliddomain; goto xit; }
+  if (ol<=1 || ol>DNS_MAXDOMAIN+1) { stat= adns_s_domaintoolong; goto xit; }
                                 
   if (owner[ol-1]=='.' && owner[ol-2]!='\\') { flags &= ~adns_qf_search; ol--; }