mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 18:59:59 -04:00
removed unnecessary call to isc_socket_cancel()
This commit is contained in:
parent
8b2d2acbff
commit
b0e67b3020
1 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: interfacemgr.c,v 1.45 2000/06/30 02:48:06 gson Exp $ */
|
||||
/* $Id: interfacemgr.c,v 1.46 2000/07/19 20:34:14 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -369,7 +369,6 @@ ns_interface_destroy(ns_interface_t *ifp) {
|
|||
if (ifp->udpdispatch != NULL)
|
||||
dns_dispatch_detach(&ifp->udpdispatch);
|
||||
if (ifp->tcpsocket != NULL) {
|
||||
isc_socket_cancel(ifp->tcpsocket, NULL, ISC_SOCKCANCEL_ALL);
|
||||
isc_socket_detach(&ifp->tcpsocket);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue