1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix unportable usage of socklen_t: should use ACCEPT_TYPE_ARG3 macro

provided by configure, instead.  Per bug #2205.
This commit is contained in:
Tom Lane
2006-01-24 16:38:42 +00:00
parent 69f9fab197
commit 7a9d197fda
2 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.73 2005/10/24 15:38:37 momjian Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.74 2006/01/24 16:38:42 tgl Exp $
*
* NOTES
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
@ -527,7 +527,7 @@ verify_peer(PGconn *conn)
struct hostent *h = NULL;
struct sockaddr addr;
struct sockaddr_in *sin;
socklen_t len;
ACCEPT_TYPE_ARG3 len;
char **s;
unsigned long l;