2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

re-merged rt18194 after fixing problems

This commit is contained in:
Evan Hunt
2008-07-03 00:13:25 +00:00
parent 935c5b4fa2
commit 34350037a8
4 changed files with 62 additions and 94 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.285 2008/06/25 22:56:33 jinmei Exp $ */
/* $Id: socket.c,v 1.286 2008/07/03 00:13:25 each Exp $ */
/*! \file */
@@ -2195,7 +2195,7 @@ isc_socket_detach(isc_socket_t **socketp) {
*socketp = NULL;
}
void
isc_result_t
isc_socket_close(isc_socket_t *sock) {
int fd;
@@ -2229,6 +2229,8 @@ isc_socket_close(isc_socket_t *sock) {
isc_sockaddr_any(&sock->peer_address);
closesocket(sock->manager, sock->type, fd);
return (ISC_R_SUCCESS);
}
/*