]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix test program dohclient close to use portability routine.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 28 Jun 2022 07:23:43 +0000 (09:23 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 28 Jun 2022 07:23:43 +0000 (09:23 +0200)
doc/Changelog
testcode/dohclient.c

index 9903ec89f9cf2c765487fb1316c267306d2272da..5d3bc17b0b8c6a696669d33057db8262571620cc 100644 (file)
@@ -1,6 +1,9 @@
 28 June 2022: George
        - Show the output of the exact .rpl run that failed with 'make test'.
 
+28 June 2022: Wouter
+       - Fix test program dohclient close to use portability routine.
+
 23 June 2022: Tom
        - Clarify -v flag manpage entry (#705)
 
index d35f5a82c6628afbf86b3e3cf18d926af47214ef..82e522f90d51be0d73cd8cbc56f55db366ccff78 100644 (file)
@@ -551,7 +551,7 @@ run(struct http2_session* h2_session, int port, int no_tls, int count, char** q)
        if(ctx) {
                SSL_CTX_free(ctx);
        }
-       close(fd);
+       sock_close(fd);
 }
 
 /** getopt global, in case header files fail to declare it. */