From 026643a6e7a9df307244c2f159f8d564adf4def8 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 14 Nov 2000 01:15:06 +0000 Subject: Rename PortName to PortNumber. --- src/interfaces/libpq/fe-connect.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 9c720c12a1c..a26f7ac5cc0 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.146 2000/11/13 23:37:53 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.147 2000/11/14 01:15:06 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -342,13 +342,6 @@ PQconnectStart(const char *conninfo) conn->pgunixsocket = conn->pghost; conn->pghost = NULL; } - if (conn->pghostaddr && conn->pghostaddr[0] == '/') - { - if (conn->pgunixsocket) - free(conn->pgunixsocket); - conn->pgunixsocket = conn->pghostaddr; - conn->pghostaddr = NULL; - } /* ---------- * Connect to the database @@ -474,13 +467,6 @@ PQsetdbLogin(const char *pghost, const char *pgport, const char *pgoptions, conn->pgunixsocket = conn->pghost; conn->pghost = NULL; } - if (conn->pghostaddr && conn->pghostaddr[0] == '/') - { - if (conn->pgunixsocket) - free(conn->pgunixsocket); - conn->pgunixsocket = conn->pghostaddr; - conn->pghostaddr = NULL; - } if (pgtty == NULL) { -- cgit v1.2.3