diff options
author | Neil Conway <neilc@samurai.com> | 2006-01-11 08:43:13 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-01-11 08:43:13 +0000 |
commit | fb627b76ccc4c7074e37b6b94155864f6cbd1b23 (patch) | |
tree | a8e7b008b4f6c2a2188641937e5b984f40b60104 /src/interfaces/libpq/fe-protocol3.c | |
parent | 762bcbdba2a2519b01b17b2c2b28f36e5ee9ea25 (diff) | |
download | postgresql-fb627b76ccc4c7074e37b6b94155864f6cbd1b23.tar.gz postgresql-fb627b76ccc4c7074e37b6b94155864f6cbd1b23.zip |
Cosmetic code cleanup: fix a bunch of places that used "return (expr);"
rather than "return expr;" -- the latter style is used in most of the
tree. I kept the parentheses when they were necessary or useful because
the return expression was complex.
Diffstat (limited to 'src/interfaces/libpq/fe-protocol3.c')
-rw-r--r-- | src/interfaces/libpq/fe-protocol3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-protocol3.c b/src/interfaces/libpq/fe-protocol3.c index 80780900db9..259672ddc66 100644 --- a/src/interfaces/libpq/fe-protocol3.c +++ b/src/interfaces/libpq/fe-protocol3.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol3.c,v 1.23 2005/11/22 18:17:33 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-protocol3.c,v 1.24 2006/01/11 08:43:13 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -1158,7 +1158,7 @@ pqEndcopy3(PGconn *conn) * and the flush fails */ if (pqFlush(conn) && pqIsnonblocking(conn)) - return (1); + return 1; /* Return to active duty */ conn->asyncStatus = PGASYNC_BUSY; @@ -1172,7 +1172,7 @@ pqEndcopy3(PGconn *conn) * with the CopyDone; are there corner cases where that doesn't happen?) */ if (pqIsnonblocking(conn) && PQisBusy(conn)) - return (1); + return 1; /* Wait for the completion response */ result = PQgetResult(conn); |