projects
/
debian
/
gcpegg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian patch 5.1-10
[debian/gcpegg]
/
network.c
diff --git
a/network.c
b/network.c
index b2663581b5acb2b83b12f0e733a6c2181d8128ab..f68d02b4b9e0696231d5ac07e31b7e77ae546450 100644
(file)
--- a/
network.c
+++ b/
network.c
@@
-237,7
+237,7
@@
int NetListen(int sd, char **pktbuf,
size = sizeof(*sin);
count = recvfrom(sd, buffer, MAXBUFSIZE, 0,
size = sizeof(*sin);
count = recvfrom(sd, buffer, MAXBUFSIZE, 0,
- (struct sockaddr *)sin, (
in
t *)&size);
+ (struct sockaddr *)sin, (
socklen_
t *)&size);
if (count < 0) {
/* Don't wait for it. */
if (errno == EWOULDBLOCK) return ERR_COMM_TMOUT;
if (count < 0) {
/* Don't wait for it. */
if (errno == EWOULDBLOCK) return ERR_COMM_TMOUT;