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

Commitfd350ef

Browse files
committed
Fix bogus declaration of local variable.
rc should be an int here, not a pgsocket. Fairly harmless as long aspgsocket is an integer type, but nonetheless wrong. Error introducedin commit87091cb.
1 parent398b240 commitfd350ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/libpq/auth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,9 +1600,9 @@ ident_inet(hbaPort *port)
16001600
constSockAddrremote_addr=port->raddr;
16011601
constSockAddrlocal_addr=port->laddr;
16021602
charident_user[IDENT_USERNAME_MAX+1];
1603-
pgsocketsock_fd,/* File descriptor for socket on which we talk
1603+
pgsocketsock_fd;/* File descriptor for socket on which we talk
16041604
* to Ident */
1605-
rc;/* Return code from a locally called function */
1605+
intrc;/* Return code from a locally called function */
16061606
boolident_return;
16071607
charremote_addr_s[NI_MAXHOST];
16081608
charremote_port[NI_MAXSERV];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp