aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-11-03 09:24:04 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-11-03 09:24:04 +0000
commit8ac872b26d4b4b04856488412a1bc0f4650102a0 (patch)
treeb99145c604836695e9c80242d81b73ac160c3163 /src
parent66a518735f7c6979eae518634743397793279821 (diff)
downloadpostgresql-8ac872b26d4b4b04856488412a1bc0f4650102a0.tar.gz
postgresql-8ac872b26d4b4b04856488412a1bc0f4650102a0.zip
Fix bogus format in two error messages.
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/hba.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index 0bdb8a3710d..0f61d76d5bc 100644
--- a/src/backend/libpq/hba.c
+++ b/src/backend/libpq/hba.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.7 1996/11/03 07:00:57 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.8 1996/11/03 09:24:04 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -492,7 +492,7 @@ ident(const struct in_addr remote_ip_addr, const struct in_addr local_ip_addr,
if (rc < 0) {
sprintf(PQerrormsg,
"Unable to send query to Ident server on the host which is "
- "trying to connect to Postgres (Host %s, Port %s),"
+ "trying to connect to Postgres (Host %s, Port %d),"
"even though we successfully connected to it. "
"errno = %s (%d)\n",
inet_ntoa(remote_ip_addr), IDENT_PORT, strerror(errno), errno);
@@ -506,7 +506,7 @@ ident(const struct in_addr remote_ip_addr, const struct in_addr local_ip_addr,
sprintf(PQerrormsg,
"Unable to receive response from Ident server "
"on the host which is "
- "trying to connect to Postgres (Host %s, Port %s),"
+ "trying to connect to Postgres (Host %s, Port %d),"
"even though we successfully sent our query to it. "
"errno = %s (%d)\n",
inet_ntoa(remote_ip_addr), IDENT_PORT,