diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-04 21:34:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-04 21:34:55 +0000 |
commit | 29b52c2822d9341e0bcce1dbc898797cb5e3e98c (patch) | |
tree | 83ed401dc38cfb90cf4b87e71914e7e6421730ca /usr.bin/cap_mkdb/cap_mkdb.c | |
parent | 5c457b7917fe4239b26ee0264f9644acf97747e2 (diff) |
Nuke a load of trailing whitespace; no binary change.
Diffstat (limited to 'usr.bin/cap_mkdb/cap_mkdb.c')
-rw-r--r-- | usr.bin/cap_mkdb/cap_mkdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c index 890d6e936fb..1450a36ba17 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.c +++ b/usr.bin/cap_mkdb/cap_mkdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cap_mkdb.c,v 1.17 2009/11/01 23:16:39 nicm Exp $ */ +/* $OpenBSD: cap_mkdb.c,v 1.18 2011/07/04 21:34:54 nicm Exp $ */ /* $NetBSD: cap_mkdb.c,v 1.5 1995/09/02 05:47:12 jtc Exp $ */ /*- @@ -289,10 +289,10 @@ db_build(char **ifiles) * spaces, it is a description rather than an * alias, so skip it and break. */ - if (*p != '|' && + if (*p != '|' && memchr(key.data, ' ', key.size) != NULL) break; - + switch(capdbp->put(capdbp, &key, &data, R_NOOVERWRITE)) { case -1: |