From 4b6e41e3deafd8a54e881390f65bf19c2e6cd09c Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Fri, 19 Jun 2020 17:37:23 +0200 Subject: [PATCH] fix documentation for waiting_tcp pkt NULL setting. --- services/outside_network.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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. */ -- 2.47.3