Clean up function call arg appearance.
This commit is contained in:
parent
cfcdd31c5d
commit
b295c0a085
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2001-2003, PostgreSQL Global Development Group
|
* Copyright (c) 2001-2003, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.63 2004/03/27 17:32:42 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.64 2004/03/27 17:59:35 momjian Exp $
|
||||||
* ----------
|
* ----------
|
||||||
*/
|
*/
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
@ -1728,9 +1728,8 @@ pgstat_mainChild(PGSTAT_FORK_ARGS)
|
|||||||
|
|
||||||
while (nread < targetlen)
|
while (nread < targetlen)
|
||||||
{
|
{
|
||||||
len = piperead(readPipe,
|
len = piperead(readPipe, ((char *) &msg) + nread,
|
||||||
((char *) &msg) + nread,
|
targetlen - nread);
|
||||||
targetlen - nread);
|
|
||||||
if (len < 0)
|
if (len < 0)
|
||||||
{
|
{
|
||||||
if (errno == EINTR)
|
if (errno == EINTR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user