X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsend.c;h=d8a876ec3bf3bd8f1f8d65eeab39d0bd1fe636ab;hb=07809063056aef043ba738ab8229042f1ffc9659;hp=ee2fea0b7802b512a36bb8c746a9c694d244b93d;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/send.c b/lib/send.c index ee2fea0b7..d8a876ec3 100644 --- a/lib/send.c +++ b/lib/send.c @@ -1,6 +1,6 @@ /* send.c --- wrappers for Windows send 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 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);