aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c16
1 files changed, 1 insertions, 15 deletions
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)
{