]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix documentation for waiting_tcp pkt NULL setting.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Jun 2020 15:37:23 +0000 (17:37 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Jun 2020 15:37:23 +0000 (17:37 +0200)
services/outside_network.h

index 8e6347ed485b3339d43da7b277ae6807bb0960c5..341bd5223b7a1847f9745b50119c781a7c82f60a 100644 (file)
@@ -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. */