Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d8d647

Browse files
committed
patch cleanups.
1 parent fcecc5c commit 9d8d647

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/bin/psql/psql.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.159 1998/09/03 02:10:38 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.160 1998/09/03 05:08:25 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -149,7 +149,7 @@ struct winsize
149149
static void usage(char *progname);
150150
static void slashUsage();
151151
static bool handleCopyOut(PGconn *conn, FILE *copystream);
152-
static bool handleCopyIn(PGresult *res, const bool mustprompt,
152+
static bool handleCopyIn(PGconn *conn, const bool mustprompt,
153153
FILE *copystream);
154154
static int tableList(PsqlSettings *pset, bool deep_tablelist,
155155
char info_type, bool system_tables);

src/interfaces/libpgtcl/pgtclCmds.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.32 1998/09/03 02:10:42 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.33 1998/09/03 05:08:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -358,7 +358,7 @@ Pg_connect(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
358358
conn = PQsetdb(pghost, pgport, pgoptions, pgtty, dbName);
359359
}
360360

361-
if (PQstatus(conn) == CONNECTION_OK) {
361+
if (PQstatus(conn) == CONNECTION_OK)
362362
{
363363
PgSetConnectionId(interp, conn);
364364
return TCL_OK;
@@ -1413,7 +1413,7 @@ Pg_listen(ClientData cData, Tcl_Interp * interp, int argc, char *argv[])
14131413
ckfree(cmd);
14141414
/* Transfer any notify events from libpq to Tcl event queue. */
14151415
PgNotifyTransferEvents(connid);
1416-
if (PQresultStatus(result) != PGRES_COMMAND_OK) {
1416+
if (PQresultStatus(result) != PGRES_COMMAND_OK)
14171417
{
14181418
/* Error occurred during the execution of command */
14191419
PQclear(result);

0 commit comments

Comments
 (0)