aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /networking/zcip.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'networking/zcip.c')
-rw-r--r--networking/zcip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index 294ffd066..b64e37c58 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -174,7 +174,7 @@ run(char *script, char *arg, char *intf, struct in_addr *ip)
174 execl(script, script, arg, NULL); 174 execl(script, script, arg, NULL);
175 perror("execl"); 175 perror("execl");
176 _exit(EXIT_FAILURE); 176 _exit(EXIT_FAILURE);
177 } 177 }
178 178
179 if (waitpid(pid, &status, 0) <= 0) { 179 if (waitpid(pid, &status, 0) <= 0) {
180 why = "waitpid"; 180 why = "waitpid";
@@ -365,7 +365,7 @@ fail:
365 fds[0].events = POLLIN; 365 fds[0].events = POLLIN;
366 fds[0].revents = 0; 366 fds[0].revents = 0;
367 367
368 // poll, being ready to adjust current timeout 368 // poll, being ready to adjust current timeout
369 if (timeout > 0) { 369 if (timeout > 0) {
370 gettimeofday(&tv1, NULL); 370 gettimeofday(&tv1, NULL);
371 tv1.tv_usec += (timeout % 1000) * 1000; 371 tv1.tv_usec += (timeout % 1000) * 1000;
@@ -477,7 +477,7 @@ fail:
477 && p.arp.ar_op != htons(ARPOP_REPLY)) 477 && p.arp.ar_op != htons(ARPOP_REPLY))
478 continue; 478 continue;
479 479
480 // some cases are always conflicts 480 // some cases are always conflicts
481 if ((p.source_ip.s_addr == ip.s_addr) 481 if ((p.source_ip.s_addr == ip.s_addr)
482 && (memcmp(&addr, &p.source_addr, 482 && (memcmp(&addr, &p.source_addr,
483 ETH_ALEN) != 0)) { 483 ETH_ALEN) != 0)) {
@@ -533,7 +533,7 @@ collision:
533bad: 533bad:
534 if (foreground) 534 if (foreground)
535 perror(why); 535 perror(why);
536 else 536 else
537 syslog(LOG_ERR, "%s %s, %s error: %s", 537 syslog(LOG_ERR, "%s %s, %s error: %s",
538 prog, intf, why, strerror(errno)); 538 prog, intf, why, strerror(errno));
539 return EXIT_FAILURE; 539 return EXIT_FAILURE;