A couple of cleanups from Scott Harrison <Scott_Harrison@next.com>
This commit is contained in:
parent
94893bb962
commit
cacaaed62b
@ -1,3 +1,4 @@
|
||||
# include <libc.h>
|
||||
# include <sys/ioctl.h>
|
||||
# if defined(__STRICT_ANSI__)
|
||||
# define isascii(c) ((unsigned)(c)<=0177)
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.29 1997/04/15 19:08:13 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -313,6 +313,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha
|
||||
fprintf(stderr,
|
||||
"FATAL: PQsetdb() -- unable to allocate memory for a PGconn");
|
||||
else {
|
||||
conn->lobjfuncs = (PGlobjfuncs *) NULL;
|
||||
conn->Pfout = NULL;
|
||||
conn->Pfin = NULL;
|
||||
conn->Pfdebug = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user