]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to close errno block in comm_point_tcp_handle_read outside of
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Oct 2022 14:21:39 +0000 (16:21 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 3 Oct 2022 14:21:39 +0000 (16:21 +0200)
  ifdef.

doc/Changelog
util/netevent.c

index b7d171d143c63e40f65000a34a1172a32d7ec278..25357d1a666086b401bb058f6e80d674c5a2b24a 100644 (file)
@@ -6,6 +6,8 @@
        - Fix to remove erroneous TC flag from TCP upstream.
        - Fix test tdir skip report printout.
        - Fix windows compile, the identifier interface is defined in headers.
+       - Fix to close errno block in comm_point_tcp_handle_read outside of
+         ifdef.
 
 26 September 2022: George
        - Better output for skipped tdir tests.
index 740f7c7e1173b969fcd7567dbb5c84664f373220..55c9a041fb5db6755d9d2dcfe292973d82e6d9b2 100644 (file)
@@ -2216,8 +2216,8 @@ recv_error:
                                c->repinfo.remote_addrlen);
                        return 0;
                }
-       }
 #endif
+       }
 #else /* USE_WINSOCK */
        if(recv_initial) {
                if(WSAGetLastError() == WSAECONNREFUSED && verbosity < 2)