From cacaaed62b56aadfd3b1536c2b910d6ba5897928 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Tue, 15 Apr 1997 19:08:13 +0000 Subject: [PATCH] A couple of cleanups from Scott Harrison --- src/include/port/nextstep.h | 1 + src/interfaces/libpq/fe-connect.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h index d7fbae858c..ca078ab10d 100644 --- a/src/include/port/nextstep.h +++ b/src/include/port/nextstep.h @@ -1,3 +1,4 @@ +# include # include # if defined(__STRICT_ANSI__) # define isascii(c) ((unsigned)(c)<=0177) diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 27c123e6f3..9d02de5b52 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -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;