Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit 241d17d

Browse files
authored
Merge pull request #200 from jasiek/master
If no host or port are specified, revert to libpq to determine how to…
2 parents 7a8caca + 73fabce commit 241d17d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

be-postgres.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ void *be_pg_init()
6565
pass = p_stab("pass");
6666
dbname = p_stab("dbname");
6767

68-
host = (host) ? host : strdup("localhost");
69-
port = (p) ? p : strdup("5432");
68+
host = (host) ? host : strdup("");
69+
port = (p) ? p : strdup("");
7070

7171
userquery = p_stab("userquery");
7272

0 commit comments

Comments
 (0)