+7 June 2007: Wouter
+ - fixup error in double linked list insertion for subqueries and
+ for outbound list of serviced queries for iterator module.
+ - nicer printout of outgoing port selection.
+
5 June 2007: Wouter
- iterator state finished.
- subrequests without parent store in cache and stop.
subq->env = qstate->env;
subq->work_info = qstate->work_info;
subq->parent = qstate;
+ if(qstate->subquery_first)
+ qstate->subquery_first->subquery_prev = subq;
subq->subquery_next = qstate->subquery_first;
subq->subquery_prev = NULL;
qstate->subquery_first = subq;
void
outbound_list_insert(struct outbound_list* list, struct outbound_entry* e)
{
+ if(list->first)
+ list->first->prev = e;
e->next = list->first;
e->prev = NULL;
list->first = e;
else pend->c = outnet->udp4_ports[chosen];
log_assert(pend->c);
- verbose(VERB_ALGO, "query %x outbound %d of %d", pend->id, chosen, nummax);
+ verbose(VERB_ALGO, "query %x outbound on port %d of %d", pend->id, chosen, nummax);
}