~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
portability: use socklen_t for argument to recvfrom
[secnet]
/
udp.c
diff --git
a/udp.c
b/udp.c
index
4883d53
..
4c393cd
100644
(file)
--- a/
udp.c
+++ b/
udp.c
@@
-64,7
+64,7
@@
static void udp_afterpoll(void *state, struct pollfd *fds, int nfds)
{
struct udp *st=state;
struct sockaddr_in from;
{
struct udp *st=state;
struct sockaddr_in from;
-
in
t fromlen;
+
socklen_
t fromlen;
struct notify_list *n;
bool_t done;
int rv;
struct notify_list *n;
bool_t done;
int rv;