Missed an else from Bryan's patch...

This commit is contained in:
Marc G. Fournier 1996-08-19 19:28:17 +00:00
parent 394f7990a0
commit 1054d35a98
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.4.2.2 1996/08/19 13:40:26 scrappy Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.4.2.3 1996/08/19 19:28:17 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -75,7 +75,7 @@ PQsetdb(char *pghost, char* pgport, char* pgoptions, char* pgtty, char* dbName)
fprintf(stderr, fprintf(stderr,
"FATAL: PQsetdb() -- unable to allocate memory for a PGconn"); "FATAL: PQsetdb() -- unable to allocate memory for a PGconn");
return (PGconn*)NULL; return (PGconn*)NULL;
} } else {
conn->Pfout = NULL; conn->Pfout = NULL;
conn->Pfin = NULL; conn->Pfin = NULL;
conn->Pfdebug = NULL; conn->Pfdebug = NULL;