projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS.stable: update
[gnulib.git]
/
lib
/
recvfrom.c
diff --git
a/lib/recvfrom.c
b/lib/recvfrom.c
index
5cdfcae
..
5edd1d8
100644
(file)
--- a/
lib/recvfrom.c
+++ b/
lib/recvfrom.c
@@
-1,6
+1,6
@@
/* recvfrom.c --- wrappers for Windows recvfrom function
/* recvfrom.c --- wrappers for Windows recvfrom function
- Copyright (C) 2008-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
1
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 recvfrom
#undef recvfrom
-
in
t
-rpl_recvfrom (int fd, void *buf,
in
t len, int flags, struct sockaddr *from,
-
in
t *fromlen)
+
ssize_
t
+rpl_recvfrom (int fd, void *buf,
size_
t len, int flags, struct sockaddr *from,
+
socklen_
t *fromlen)
{
int frombufsize = (from != NULL ? *fromlen : 0);
SOCKET sock = FD_TO_SOCKET (fd);
{
int frombufsize = (from != NULL ? *fromlen : 0);
SOCKET sock = FD_TO_SOCKET (fd);