1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fixes for VC and libpq.

Magnus Hagander
This commit is contained in:
Bruce Momjian
1998-09-18 16:46:07 +00:00
parent 33554989c0
commit 1202ab259a
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.81 1998/09/03 02:10:46 momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.82 1998/09/18 16:46:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1290,9 +1290,9 @@ conninfo_parse(const char *conninfo, char *errorMessage)
* Try to get the environment variable fallback
* ----------
*/
if (option->environ != NULL)
if (option->envvar != NULL)
{
if ((tmp = getenv(option->environ)) != NULL)
if ((tmp = getenv(option->envvar)) != NULL)
{
option->val = strdup(tmp);
continue;