1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03: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:
Tom Lane
2016-04-14 09:44:21 -04:00
parent 92a30a7eb0
commit 22989a8e34
2 changed files with 2 additions and 2 deletions

View File

@ -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;