summaryrefslogtreecommitdiff
path: root/gl/accept.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-03-31 13:47:05 +0200
committerSimon Josefsson <simon@josefsson.org>2010-03-31 13:47:05 +0200
commit1dc13a02db8fc7efe58a4d717d9ace0b2ec449a4 (patch)
tree765845042bca991bbcf371cd51152a02532c9f9e /gl/accept.c
parent12fbe47f33b6d03ff28ff9bc9e5e9405b110d883 (diff)
downloadgnutls-1dc13a02db8fc7efe58a4d717d9ace0b2ec449a4.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/accept.c')
-rw-r--r--gl/accept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/accept.c b/gl/accept.c
index 8a3079f574..a68f7dcfc0 100644
--- a/gl/accept.c
+++ b/gl/accept.c
@@ -1,6 +1,6 @@
/* accept.c --- wrappers for Windows accept function
- Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2008-2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
#undef accept
int
-rpl_accept (int fd, struct sockaddr *addr, int *addrlen)
+rpl_accept (int fd, struct sockaddr *addr, socklen_t *addrlen)
{
SOCKET fh = accept (FD_TO_SOCKET (fd), addr, addrlen);
if (fh == INVALID_SOCKET)