projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtoimax: Avoid link error on OSF/1 with DTK cc.
[gnulib.git]
/
lib
/
sendto.c
diff --git
a/lib/sendto.c
b/lib/sendto.c
index
f9fd408
..
e301626
100644
(file)
--- a/
lib/sendto.c
+++ b/
lib/sendto.c
@@
-1,6
+1,6
@@
/* sendto.c --- wrappers for Windows sendto function
/* sendto.c --- wrappers for Windows sendto 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
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,9
+28,9
@@
#undef sendto
#undef sendto
-
in
t
-rpl_sendto (int fd, const void *buf,
in
t len, int flags,
-
struct sockaddr *to, in
t tolen)
+
ssize_
t
+rpl_sendto (int fd, const void *buf,
size_
t len, int flags,
+
const struct sockaddr *to, socklen_
t tolen)
{
SOCKET sock = FD_TO_SOCKET (fd);
int r = sendto (sock, buf, len, flags, to, tolen);
{
SOCKET sock = FD_TO_SOCKET (fd);
int r = sendto (sock, buf, len, flags, to, tolen);