Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4913efc

Browse files
committed
Get rid of unportable use of socklen_t --- we have a configure test
for that, so use it.
1 parent f27a469 commit 4913efc

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
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.192 2010/01/27 12:11:59 mha Exp $
11+
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.193 2010/01/31 17:27:22 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2523,7 +2523,7 @@ CheckRADIUSAuth(Port *port)
25232523
pgsocket sock;
25242524
struct sockaddr_in localaddr;
25252525
struct sockaddr_in remoteaddr;
2526-
socklen_t addrsize;
2526+
ACCEPT_TYPE_ARG3 addrsize;
25272527
fd_set fdset;
25282528
struct timeval timeout;
25292529
int i,r;

0 commit comments

Comments
 (0)