summaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-24 02:18:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-24 02:18:03 +0000
commitc693840fe81e59a308e0c6e3d2bafae728d1caff (patch)
tree10924edda7796e5242e460364c2f3587f2841c0f /networking/inetd.c
parent42cc304e9084843ad6b153afaf4b3f6c6528c364 (diff)
downloadbusybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.gz
busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.tar.bz2
busybox-w32-c693840fe81e59a308e0c6e3d2bafae728d1caff.zip
*: whitespace fixes, no code changes
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,