From: W.C.A. Wijngaards Date: Fri, 19 Jun 2020 15:37:23 +0000 (+0200) Subject: fix documentation for waiting_tcp pkt NULL setting. X-Git-Tag: release-1.13.0rc1~5^2~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b6e41e3deafd8a54e881390f65bf19c2e6cd09c;p=thirdparty%2Funbound.git fix documentation for waiting_tcp pkt NULL setting. --- diff --git a/services/outside_network.h b/services/outside_network.h index 8e6347ed4..341bd5223 100644 --- a/services/outside_network.h +++ b/services/outside_network.h @@ -341,7 +341,7 @@ struct pending_tcp { struct waiting_tcp { /** * next in waiting list. - * if pkt==0, this points to the pending_tcp structure. + * if on_tcp_waiting_list==0, this points to the pending_tcp structure. */ struct waiting_tcp* next_waiting; /** if true the item is on the tcp waiting list and next_waiting @@ -367,8 +367,6 @@ struct waiting_tcp { /** * The query itself, the query packet to send. * allocated after the waiting_tcp structure. - * set to NULL when the query is serviced and it part of pending_tcp. - * if this is NULL, the next_waiting points to the pending_tcp. */ uint8_t* pkt; /** length of query packet. */