summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-03-18 10:08:59 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-03-18 10:08:59 +0000
commitcc1cb3ca6f07b5bbc45f680ce9fc9b248a399cb3 (patch)
tree85bdd0b5eb336bc757d33e392e77b744144a1f76 /usr.sbin/traceroute
parentf320e1bca6312ab188002cf3ab3334e71c396f1e (diff)
Wrap long line.
OK lteo, benno
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/traceroute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c
index 5355751cd1d..e6b9ec5ffc0 100644
--- a/usr.sbin/traceroute/traceroute.c
+++ b/usr.sbin/traceroute/traceroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: traceroute.c,v 1.90 2014/03/10 19:58:06 florian Exp $ */
+/* $OpenBSD: traceroute.c,v 1.91 2014/03/18 10:08:58 florian Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*-
@@ -745,7 +745,8 @@ main(int argc, char *argv[])
if (sump)
printf(" (%d%% loss)", (loss * 100) / nprobes);
putchar('\n');
- if (got_there || (unreachable && (unreachable + timeout) >= nprobes))
+ if (got_there ||
+ (unreachable && (unreachable + timeout) >= nprobes))
break;
}
exit(0);