mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@ -151,7 +151,7 @@ pgwin32_waitforsinglesocket(SOCKET s, int what, int timeout)
|
||||
(errmsg_internal("could not reset socket waiting event: error code %lu", GetLastError())));
|
||||
|
||||
/*
|
||||
* Track whether socket is UDP or not. (NB: most likely, this is both
|
||||
* Track whether socket is UDP or not. (NB: most likely, this is both
|
||||
* useless and wrong; there is no reason to think that the behavior of
|
||||
* WSAEventSelect is different for TCP and UDP.)
|
||||
*/
|
||||
@ -160,8 +160,9 @@ pgwin32_waitforsinglesocket(SOCKET s, int what, int timeout)
|
||||
current_socket = s;
|
||||
|
||||
/*
|
||||
* Attach event to socket. NOTE: we must detach it again before returning,
|
||||
* since other bits of code may try to attach other events to the socket.
|
||||
* Attach event to socket. NOTE: we must detach it again before
|
||||
* returning, since other bits of code may try to attach other events to
|
||||
* the socket.
|
||||
*/
|
||||
if (WSAEventSelect(s, waitevent, what) != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user