diff options
| author | Bruce Momjian <bruce@momjian.us> | 2010-07-06 19:19:02 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2010-07-06 19:19:02 +0000 |
| commit | 239d769e7e05e0a5ef3bd6828e93e22ef3962780 (patch) | |
| tree | 9660987f1372651b78fb82023739728f2f962a6e /src/backend/port/win32 | |
| parent | 52783b212c7c0ef5ab2ee6bda17c8db0ed13d4ab (diff) | |
| download | postgresql-239d769e7e05e0a5ef3bd6828e93e22ef3962780.tar.gz | |
pgindent run for 9.0, second run
Diffstat (limited to 'src/backend/port/win32')
| -rw-r--r-- | src/backend/port/win32/socket.c | 10 | ||||
| -rw-r--r-- | src/backend/port/win32/timer.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/port/win32/socket.c b/src/backend/port/win32/socket.c index 3355606e45..6c7d327c6f 100644 --- a/src/backend/port/win32/socket.c +++ b/src/backend/port/win32/socket.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.26 2010/02/26 02:00:53 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/win32/socket.c,v 1.27 2010/07/06 19:18:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -457,7 +457,7 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c r = WSASend(writefds->fd_array[i], &buf, 1, &sent, 0, NULL, NULL); if (r == 0) /* Completed - means things are fine! */ - FD_SET (writefds->fd_array[i], &outwritefds); + FD_SET(writefds->fd_array[i], &outwritefds); else { /* Not completed */ @@ -467,7 +467,7 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c * Not completed, and not just "would block", so an error * occured */ - FD_SET (writefds->fd_array[i], &outwritefds); + FD_SET(writefds->fd_array[i], &outwritefds); } } if (outwritefds.fd_count > 0) @@ -554,7 +554,7 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c (resEvents.lNetworkEvents & FD_ACCEPT) || (resEvents.lNetworkEvents & FD_CLOSE)) { - FD_SET (sockets[i], &outreadfds); + FD_SET(sockets[i], &outreadfds); nummatches++; } @@ -565,7 +565,7 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c if ((resEvents.lNetworkEvents & FD_WRITE) || (resEvents.lNetworkEvents & FD_CLOSE)) { - FD_SET (sockets[i], &outwritefds); + FD_SET(sockets[i], &outwritefds); nummatches++; } diff --git a/src/backend/port/win32/timer.c b/src/backend/port/win32/timer.c index 898bd95e1d..c2711fb092 100644 --- a/src/backend/port/win32/timer.c +++ b/src/backend/port/win32/timer.c @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/win32/timer.c,v 1.18 2010/01/02 16:57:50 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/win32/timer.c,v 1.19 2010/07/06 19:18:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ typedef struct timerCA struct itimerval value; HANDLE event; CRITICAL_SECTION crit_sec; -} timerCA; +} timerCA; static timerCA timerCommArea; static HANDLE timerThreadHandle = INVALID_HANDLE_VALUE; |
