Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ac872b

Browse files
author
Bryan Henderson
committed
Fix bogus format in two error messages.
1 parent66a5187 commit8ac872b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/libpq/hba.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.7 1996/11/0307:00:57 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.8 1996/11/0309:24:04 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -492,7 +492,7 @@ ident(const struct in_addr remote_ip_addr, const struct in_addr local_ip_addr,
492492
if (rc<0) {
493493
sprintf(PQerrormsg,
494494
"Unable to send query to Ident server on the host which is "
495-
"trying to connect to Postgres (Host %s, Port %s),"
495+
"trying to connect to Postgres (Host %s, Port %d),"
496496
"even though we successfully connected to it. "
497497
"errno = %s (%d)\n",
498498
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,
506506
sprintf(PQerrormsg,
507507
"Unable to receive response from Ident server "
508508
"on the host which is "
509-
"trying to connect to Postgres (Host %s, Port %s),"
509+
"trying to connect to Postgres (Host %s, Port %d),"
510510
"even though we successfully sent our query to it. "
511511
"errno = %s (%d)\n",
512512
inet_ntoa(remote_ip_addr),IDENT_PORT,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp