mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
pgindent run for 9.0
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.25 2010/02/17 05:51:40 mha Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.26 2010/02/26 02:00:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -24,7 +24,7 @@
|
||||
* This flag changes the behaviour *globally* for all socket operations,
|
||||
* so it should only be set for very short periods of time.
|
||||
*/
|
||||
int pgwin32_noblock = 0;
|
||||
int pgwin32_noblock = 0;
|
||||
|
||||
#undef socket
|
||||
#undef accept
|
||||
@ -326,8 +326,8 @@ pgwin32_recv(SOCKET s, char *buf, int len, int f)
|
||||
if (pgwin32_noblock)
|
||||
{
|
||||
/*
|
||||
* No data received, and we are in "emulated non-blocking mode", so return
|
||||
* indicating that we'd block if we were to continue.
|
||||
* No data received, and we are in "emulated non-blocking mode", so
|
||||
* return indicating that we'd block if we were to continue.
|
||||
*/
|
||||
errno = EWOULDBLOCK;
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user