From: ian Date: Sun, 15 Nov 1998 19:13:29 +0000 (+0000) Subject: _Submits_ but does not use the results from internally-generated queries - X-Git-Tag: abandon.1999-04-10.multithread~31 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=e553d0722796208b5a7c3c2282ef1a5743a9f603 _Submits_ but does not use the results from internally-generated queries - add fixme and abort. --- diff --git a/src/query.c b/src/query.c index a794e54..8c39caa 100644 --- a/src/query.c +++ b/src/query.c @@ -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) {