X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsend.c;h=d8a876ec3bf3bd8f1f8d65eeab39d0bd1fe636ab;hb=b94f2b3ac7049ef66bded4596431c453e3710209;hp=4d2ca16c9f647fa5224b7d6dd879b1494b7dd121;hpb=11ee0e1340f95ccb9954e522f6e003b3125eb109;p=gnulib.git diff --git a/lib/send.c b/lib/send.c index 4d2ca16c9..d8a876ec3 100644 --- a/lib/send.c +++ b/lib/send.c @@ -1,6 +1,6 @@ /* send.c --- wrappers for Windows send function - Copyright (C) 2008 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 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);