2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

indentation

This commit is contained in:
Andreas Gustafsson 2001-11-15 19:06:04 +00:00
parent 3179bab5b8
commit 36d8518388

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: socket.c,v 1.8 2001/11/08 03:29:05 mayer Exp $ */ /* $Id: socket.c,v 1.9 2001/11/15 19:06:04 gson Exp $ */
#define MAKE_EXTERNAL 1 #define MAKE_EXTERNAL 1
@ -328,8 +328,8 @@ internal_sendmsg(int sock, const struct msghdr *msg, int flags) {
/* There is an error... */ /* There is an error... */
Error = WSAGetLastError(); Error = WSAGetLastError();
if (Error == WSA_IO_PENDING) { if (Error == WSA_IO_PENDING) {
/* Overlapped send successfully initiated. */ /* Overlapped send successfully initiated. */
errno = EAGAIN; errno = EAGAIN;
} else { } else {
/* An unexpected error occurred. */ /* An unexpected error occurred. */
errno = Error; errno = Error;
@ -853,12 +853,11 @@ build_msghdr_recv(isc_socket_t *sock, isc_socketevent_t *dev,
iov[0].buf = (void *)(dev->region.base + dev->n); iov[0].buf = (void *)(dev->region.base + dev->n);
iov[0].len = read_count; iov[0].len = read_count;
iovcount = 1; iovcount = 1;
} } else {
else { /*
/* * Multibuffer I/O.
* Multibuffer I/O. * Skip empty buffers.
* Skip empty buffers. */
*/
while (buffer != NULL) { while (buffer != NULL) {
REQUIRE(ISC_BUFFER_VALID(buffer)); REQUIRE(ISC_BUFFER_VALID(buffer));
if (isc_buffer_availablelength(buffer) != 0) if (isc_buffer_availablelength(buffer) != 0)