diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-06-07 01:29:39 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-06-07 01:29:39 +0000 |
commit | f97aeee421843d0963b2256e41c79950a14d7cd0 (patch) | |
tree | 017811973f2ac79f0bdef2cb97d806968709f8d4 /sbin/route/route.c | |
parent | f14f59e135725da28e313d7b21a3f6fe40beca37 (diff) |
per trending style, add continue to emtpy loop bodies.
ok mglocker
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r-- | sbin/route/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 2f28ecda08c..e070fcd0af3 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.182 2015/12/03 08:00:49 claudio Exp $ */ +/* $OpenBSD: route.c,v 1.183 2016/06/07 01:29:38 tedu Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -763,7 +763,7 @@ inet_makenetandmask(u_int32_t net, struct sockaddr_in *sin, int bits) sin->sin_family = 0; cp = (char *)(&sin->sin_addr + 1); while (*--cp == '\0' && cp > (char *)sin) - ; + continue; sin->sin_len = 1 + cp - (char *)sin; } |