X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frecv.c;h=d99b7a40a18d41eef6b1696169ab7b8847b700a7;hb=b067a2ba8fa66bf01717a4e8561c4db858055069;hp=cf24c331b750c841c3edf1c69de91fa710d3a750;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/recv.c b/lib/recv.c index cf24c331b..d99b7a40a 100644 --- a/lib/recv.c +++ b/lib/recv.c @@ -1,6 +1,6 @@ /* recv.c --- wrappers for Windows recv function - Copyright (C) 2008, 2009 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 @@ -28,8 +28,8 @@ #undef recv -int -rpl_recv (int fd, void *buf, int len, int flags) +ssize_t +rpl_recv (int fd, void *buf, size_t len, int flags) { SOCKET sock = FD_TO_SOCKET (fd); int r = recv (sock, buf, len, flags);