mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Fix bogus declaration of local variable.
rc should be an int here, not a pgsocket. Fairly harmless as long as
pgsocket is an integer type, but nonetheless wrong. Error introduced
in commit 87091cb1f1
.
This commit is contained in:
parent
398b240151
commit
fd350ef395
@ -1600,9 +1600,9 @@ ident_inet(hbaPort *port)
|
||||
const SockAddr remote_addr = port->raddr;
|
||||
const SockAddr local_addr = port->laddr;
|
||||
char ident_user[IDENT_USERNAME_MAX + 1];
|
||||
pgsocket sock_fd, /* File descriptor for socket on which we talk
|
||||
pgsocket sock_fd; /* File descriptor for socket on which we talk
|
||||
* to Ident */
|
||||
rc; /* Return code from a locally called function */
|
||||
int rc; /* Return code from a locally called function */
|
||||
bool ident_return;
|
||||
char remote_addr_s[NI_MAXHOST];
|
||||
char remote_port[NI_MAXSERV];
|
||||
|
Loading…
Reference in New Issue
Block a user