chiark / gitweb /
_Submits_ but does not use the results from internally-generated queries -
[adns.git] / src / query.c
index a794e54c93b8f9ab3503fa4239814a7c2c1ac505..8c39caa176a0b3340e67510f2b2a271312fe019c 100644 (file)
@@ -270,6 +270,9 @@ void adns__query_done(adns_query qu) {
   
   qu->id= -1;
   LIST_LINK_TAIL(qu->ads->output,qu);
+
+  assert(!qu->parent);
+  /* fixme: do something with the answers to internally-generated queries. */
 }
 
 void adns__query_fail(adns_query qu, adns_status stat) {