mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 15:37:23 +02:00
Fix prototype of pgwin32_bind().
I (tgl) had copied-and-pasted this from pgwin32_accept(), failing to notice that the third parameter should be "int" not "int *". David Rowley
This commit is contained in:
parent
92a30a7eb0
commit
22989a8e34
@ -265,7 +265,7 @@ pgwin32_socket(int af, int type, int protocol)
|
||||
}
|
||||
|
||||
int
|
||||
pgwin32_bind(SOCKET s, struct sockaddr * addr, int *addrlen)
|
||||
pgwin32_bind(SOCKET s, struct sockaddr * addr, int addrlen)
|
||||
{
|
||||
int res;
|
||||
|
||||
|
@ -373,7 +373,7 @@ void pg_queue_signal(int signum);
|
||||
#define send(s, buf, len, flags) pgwin32_send(s, buf, len, flags)
|
||||
|
||||
SOCKET pgwin32_socket(int af, int type, int protocol);
|
||||
int pgwin32_bind(SOCKET s, struct sockaddr * addr, int *addrlen);
|
||||
int pgwin32_bind(SOCKET s, struct sockaddr * addr, int addrlen);
|
||||
int pgwin32_listen(SOCKET s, int backlog);
|
||||
SOCKET pgwin32_accept(SOCKET s, struct sockaddr * addr, int *addrlen);
|
||||
int pgwin32_connect(SOCKET s, const struct sockaddr * name, int namelen);
|
||||
|
Loading…
Reference in New Issue
Block a user