X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frecv.c;h=d99b7a40a18d41eef6b1696169ab7b8847b700a7;hb=0b3b74d5643737f6e78f93a40f34462baee64131;hp=73e2a11d30f524bec9d784314b03a0ea86fcb698;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/recv.c b/lib/recv.c index 73e2a11d3..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, 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 @@ -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);