X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsend.c;h=6ab4b01265e649e1db128898f45a078229c39e1c;hb=8d8bbae775e3c77070161dafc81c0c2dbba0fef4;hp=83e2e8e6e847dbc61f7280d2c54bcb89557f867c;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/send.c b/lib/send.c index 83e2e8e6e..6ab4b0126 100644 --- a/lib/send.c +++ b/lib/send.c @@ -1,6 +1,6 @@ /* send.c --- wrappers for Windows send 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 @@ -28,8 +28,8 @@ #undef send -int -rpl_send (int fd, const void *buf, int len, int flags) +ssize_t +rpl_send (int fd, const void *buf, size_t len, int flags) { SOCKET sock = FD_TO_SOCKET (fd); int r = send (sock, buf, len, flags);