diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-17 21:42:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-17 21:42:59 +0000 |
commit | 49a128a1565520069737ae9602155d8627d7c84c (patch) | |
tree | b1d76d8d1976dbd0cf6e2ef9c61976aadd464ed1 /networking/udhcp | |
parent | 150d2fa114d626761a67e529959433226793e733 (diff) | |
download | busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.gz busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.bz2 busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.zip |
remove accumulated stray trailing whitespace
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/leases.c | 2 | ||||
-rw-r--r-- | networking/udhcp/socket.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index 997daea6c..c0864ed20 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c | |||
@@ -138,7 +138,7 @@ uint32_t find_address(int check_expired) | |||
138 | 138 | ||
139 | /* no lease or it expired and we are checking for expired leases */ | 139 | /* no lease or it expired and we are checking for expired leases */ |
140 | if ((!lease || (check_expired && lease_expired(lease))) | 140 | if ((!lease || (check_expired && lease_expired(lease))) |
141 | && nobody_responds_to_arp(ret) /* it isn't used on the network */ | 141 | && nobody_responds_to_arp(ret) /* it isn't used on the network */ |
142 | ) { | 142 | ) { |
143 | return ret; | 143 | return ret; |
144 | } | 144 | } |
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 21a058545..648f7623c 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 | |||
53 | ifr.ifr_addr.sa_family = AF_INET; | 53 | ifr.ifr_addr.sa_family = AF_INET; |
54 | strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name)); | 54 | strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name)); |
55 | if (addr) { | 55 | if (addr) { |
56 | if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr, | 56 | if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr, |
57 | "is interface %s up and configured?", interface) | 57 | "is interface %s up and configured?", interface) |
58 | ) { | 58 | ) { |
59 | close(fd); | 59 | close(fd); |