aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 5cdfe0a22..eb19d1630 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -366,7 +366,7 @@ static len_and_sockaddr *xzalloc_lsa(int family)
366 lsa = xzalloc(LSA_LEN_SIZE + sz); 366 lsa = xzalloc(LSA_LEN_SIZE + sz);
367 lsa->len = sz; 367 lsa->len = sz;
368 lsa->u.sa.sa_family = family; 368 lsa->u.sa.sa_family = family;
369 return lsa; 369 return lsa;
370} 370}
371 371
372static void rearm_alarm(void) 372static void rearm_alarm(void)
@@ -1357,7 +1357,7 @@ int inetd_main(int argc ATTRIBUTE_UNUSED, char **argv)
1357 /* peek at the packet and remember peer addr */ 1357 /* peek at the packet and remember peer addr */
1358 int r = recvfrom(ctrl, NULL, 0, MSG_PEEK|MSG_DONTWAIT, 1358 int r = recvfrom(ctrl, NULL, 0, MSG_PEEK|MSG_DONTWAIT,
1359 &lsa->u.sa, &lsa->len); 1359 &lsa->u.sa, &lsa->len);
1360 if (r < 0) 1360 if (r < 0)
1361 goto do_exit1; 1361 goto do_exit1;
1362 /* make this socket "connected" to peer addr: 1362 /* make this socket "connected" to peer addr:
1363 * only packets from this peer will be recv'ed, 1363 * only packets from this peer will be recv'ed,