summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko2007-07-17 21:42:59 +0000
committerDenis Vlasenko2007-07-17 21:42:59 +0000
commit49a128a1565520069737ae9602155d8627d7c84c (patch)
treeb1d76d8d1976dbd0cf6e2ef9c61976aadd464ed1 /networking/udhcp
parent150d2fa114d626761a67e529959433226793e733 (diff)
downloadbusybox-49a128a1565520069737ae9602155d8627d7c84c.zip
busybox-49a128a1565520069737ae9602155d8627d7c84c.tar.gz
remove accumulated stray trailing whitespace
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/leases.c2
-rw-r--r--networking/udhcp/socket.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c
index 997daea..c0864ed 100644
--- a/networking/udhcp/leases.c
+++ b/networking/udhcp/leases.c
@@ -138,7 +138,7 @@ uint32_t find_address(int check_expired)
/* no lease or it expired and we are checking for expired leases */
if ((!lease || (check_expired && lease_expired(lease)))
- && nobody_responds_to_arp(ret) /* it isn't used on the network */
+ && nobody_responds_to_arp(ret) /* it isn't used on the network */
) {
return ret;
}
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index 21a0585..648f762 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -53,7 +53,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t
ifr.ifr_addr.sa_family = AF_INET;
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
if (addr) {
- if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
+ if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
"is interface %s up and configured?", interface)
) {
close(fd);