diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-24 15:40:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-24 15:40:16 +0000 |
commit | 219d14d514ca4d31b4319af14e3a64b66fe2c233 (patch) | |
tree | a74e8ce7604ff932a3990de3065c167392e4b082 /networking | |
parent | 644849a3aa0c834a942fb7777ec449d8098bcfc9 (diff) | |
download | busybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.gz |
random style fixes (extra spaces deleted)
Diffstat (limited to 'networking')
-rw-r--r-- | networking/telnet.c | 2 | ||||
-rw-r--r-- | networking/udhcp/arpping.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index cd88a9b3d..5c75a7409 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -188,7 +188,7 @@ static void handlenetoutput(int len) else if (*p == 0x0d) outbuf[j++] = 0x00; } - if (j > 0 ) + if (j > 0) write(G.netfd, outbuf, j); } diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c index f78fd3fd8..615a91172 100644 --- a/networking/udhcp/arpping.c +++ b/networking/udhcp/arpping.c @@ -94,9 +94,11 @@ int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *mac, char *interface) tm.tv_sec = timeout; if (select(s + 1, &fdset, (fd_set *) NULL, (fd_set *) NULL, &tm) < 0) { bb_perror_msg("error on ARPING request"); - if (errno != EINTR) rv = 0; + if (errno != EINTR) + rv = 0; } else if (FD_ISSET(s, &fdset)) { - if (recv(s, &arp, sizeof(arp), 0) < 0 ) rv = 0; + if (recv(s, &arp, sizeof(arp), 0) < 0) + rv = 0; if (arp.operation == htons(ARPOP_REPLY) && memcmp(arp.tHaddr, mac, 6) == 0 && *((uint32_t *) arp.sInaddr) == yiaddr) { |