svn commit: trunk/busybox/networking/libiproute
landley at busybox.net
landley at busybox.net
Wed May 17 20:24:55 UTC 2006
Author: landley
Date: 2006-05-17 13:24:53 -0700 (Wed, 17 May 2006)
New Revision: 15104
Log:
Patch from Bernhard Fischer to remove some useless bits.
Modified:
trunk/busybox/networking/libiproute/ipaddress.c
trunk/busybox/networking/libiproute/iproute.c
Changeset:
Modified: trunk/busybox/networking/libiproute/ipaddress.c
===================================================================
--- trunk/busybox/networking/libiproute/ipaddress.c 2006-05-17 19:59:24 UTC (rev 15103)
+++ trunk/busybox/networking/libiproute/ipaddress.c 2006-05-17 20:24:53 UTC (rev 15104)
@@ -506,7 +506,6 @@
}
if (flush) {
- int round = 0;
char flushb[4096-512];
filter.flushb = flushb;
@@ -525,14 +524,9 @@
exit(1);
}
if (filter.flushed == 0) {
-#if 0
- if (round == 0)
- fprintf(stderr, "Nothing to flush.\n");
-#endif
fflush(stdout);
return 0;
}
- round++;
if (flush_update() < 0)
exit(1);
}
Modified: trunk/busybox/networking/libiproute/iproute.c
===================================================================
--- trunk/busybox/networking/libiproute/iproute.c 2006-05-17 19:59:24 UTC (rev 15103)
+++ trunk/busybox/networking/libiproute/iproute.c 2006-05-17 20:24:53 UTC (rev 15104)
@@ -588,7 +588,6 @@
}
if (flush) {
- int _round = 0;
char flushb[4096-512];
if (filter.tb == -1) {
@@ -614,14 +613,9 @@
return -1;
}
if (filter.flushed == 0) {
- if (_round == 0) {
- if (filter.tb != -1 || do_ipv6 == AF_INET6)
- fprintf(stderr, "Nothing to flush.\n");
- }
fflush(stdout);
return 0;
}
- _round++;
if (flush_update() < 0)
exit(1);
}
More information about the busybox-cvs
mailing list