Commit 11003eb
committed
libpq: Fix inadvertent change in PQhost() behavior.
Commit 274bb2b caused PQhost() to
return the value of the hostaddr parameter rather than the relevant
host when the latter parameter was specified. That's wrong. Commit
9a1d0af then amplified the damage by
using PQhost() in more places, so that the SSL test suite started
failing.
Report by Andreas Karlsson; patch by me.1 parent a01a501 commit 11003eb
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5736 | 5736 | | |
5737 | 5737 | | |
5738 | 5738 | | |
5739 | | - | |
| 5739 | + | |
| 5740 | + | |
5740 | 5741 | | |
5741 | 5742 | | |
5742 | 5743 | | |
| |||
0 commit comments