mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Standard pgindent run for 8.1.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.8 2004/12/31 22:00:37 pgsql Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.9 2005/10/15 02:49:23 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -178,8 +178,8 @@ pgwin32_accept(SOCKET s, struct sockaddr * addr, int *addrlen)
|
||||
SOCKET rs;
|
||||
|
||||
/*
|
||||
* Poll for signals, but don't return with EINTR, since we don't
|
||||
* handle that in pqcomm.c
|
||||
* Poll for signals, but don't return with EINTR, since we don't handle
|
||||
* that in pqcomm.c
|
||||
*/
|
||||
pgwin32_poll_signals();
|
||||
|
||||
@ -351,8 +351,8 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c
|
||||
if (WSAGetLastError() != WSAEWOULDBLOCK)
|
||||
|
||||
/*
|
||||
* Not completed, and not just "would block", so an
|
||||
* error occured
|
||||
* Not completed, and not just "would block", so an error
|
||||
* occured
|
||||
*/
|
||||
FD_SET(writefds->fd_array[i], &outwritefds);
|
||||
}
|
||||
@ -423,8 +423,8 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c
|
||||
if (r != WAIT_TIMEOUT && r != WAIT_IO_COMPLETION && r != (WAIT_OBJECT_0 + numevents))
|
||||
{
|
||||
/*
|
||||
* We scan all events, even those not signalled, in case more than
|
||||
* one event has been tagged but Wait.. can only return one.
|
||||
* We scan all events, even those not signalled, in case more than one
|
||||
* event has been tagged but Wait.. can only return one.
|
||||
*/
|
||||
WSANETWORKEVENTS resEvents;
|
||||
|
||||
|
Reference in New Issue
Block a user