diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2017-12-07 15:39:48 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2017-12-07 15:39:48 +0000 |
commit | f92cc06b89c826cf151da5a4322efd2af68e1df0 (patch) | |
tree | b6ea64283281fe21ee1ae29df1acffcf2a43f88b /app/cwm | |
parent | 516469d7746cd2d7149961d392c04de5d081e129 (diff) |
spacing
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/kbfunc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index 13460e377..a645f541e 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.150 2017/11/30 18:18:51 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.151 2017/12/07 15:39:47 okan Exp $ */ #include <sys/types.h> @@ -628,9 +628,8 @@ kbfunc_menu_ssh(void *ctx, struct cargs *cargs) /* skip hashed hosts */ if (strncmp(buf, HASH_MARKER, strlen(HASH_MARKER)) == 0) continue; - for (p = buf; *p != ',' && *p != ' ' && p != buf + slen; p++) { - /* do nothing */ - } + for (p = buf; *p != ',' && *p != ' ' && p != buf + slen; p++) + ; /* ignore badness */ if (p - buf + 1 > sizeof(hostbuf)) continue; |