X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Faccept.c;h=5591fa50a41560d32f46a6e8da0af02d08ef5a27;hb=4596125141aeea905bd7ed1a8768f11db7402e41;hp=8a3079f574571b449823181426b3eb31a17934ae;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/lib/accept.c b/lib/accept.c index 8a3079f57..5591fa50a 100644 --- a/lib/accept.c +++ b/lib/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-2011 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)