~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: Hack around Termux syslog weirdness.
[fwd]
/
inet.c
diff --git
a/inet.c
b/inet.c
index
faa250e
..
ad93beb
100644
(file)
--- a/
inet.c
+++ b/
inet.c
@@
-234,7
+234,7
@@
static int srcopt(scanner *sc, addr_opts *ao)
/* --- Find the netmask, if any --- */
if (sc->t != '/')
/* --- Find the netmask, if any --- */
if (sc->t != '/')
- m.s_addr = ~0ul;
+ m.s_addr =
(in_addr_t)
~0ul;
else {
token(sc);
DRESET(&d);
else {
token(sc);
DRESET(&d);
@@
-365,7
+365,7
@@
static reffd *inet_accept(int fd, addr_opts *ao, const char *desc)
inet_srcopts *io = (inet_srcopts *)ao;
int nfd;
id_req q;
inet_srcopts *io = (inet_srcopts *)ao;
int nfd;
id_req q;
- s
ize
_t lsinsz = sizeof(q.lsin), rsinsz = sizeof(q.rsin);
+ s
ocklen
_t lsinsz = sizeof(q.lsin), rsinsz = sizeof(q.rsin);
int act = ACL_ALLOW;
/* --- Accept the new connection --- */
int act = ACL_ALLOW;
/* --- Accept the new connection --- */