From c12e9c47b380045128571156b12b4b1809d39bcd Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 10 Jan 2000 22:22:53 +0000 Subject: [PATCH] changed comments for isc_socket_detach() to reflect reality --- lib/isc/include/isc/socket.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/isc/include/isc/socket.h b/lib/isc/include/isc/socket.h index f1e5da7366..bf06b623be 100644 --- a/lib/isc/include/isc/socket.h +++ b/lib/isc/include/isc/socket.h @@ -284,15 +284,15 @@ isc_socket_detach(isc_socket_t **socketp); /* * Detach *socketp from its socket. * - * Notes: - * - * Detaching the last reference may cause any still-pending I/O to be - * cancelled. - * * Requires: * * 'socketp' points to a valid socket. * + * If '*socketp' is the last reference to the socket, + * then: + * + * There must be no pending I/O requests. + * * Ensures: * * *socketp is NULL.