diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-04 14:04:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-06 17:47:14 +0200 |
commit | cf2bf0952498059c6a8987bb54b58987748af7e2 (patch) | |
tree | b90a7801ba3b68b5c4cbecf2dd7e57b0c982f282 /src/pubkey.c | |
parent | man: wg-quick: use syncconf instead of addconf for strip example (diff) | |
download | wireguard-tools-cf2bf0952498059c6a8987bb54b58987748af7e2.tar.xz wireguard-tools-cf2bf0952498059c6a8987bb54b58987748af7e2.zip |
pubkey: isblank is a subset of isspace
Therefore, there's no need to test both.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/pubkey.c')
-rw-r--r-- | src/pubkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey.c b/src/pubkey.c index 19235fc..a78fe11 100644 --- a/src/pubkey.c +++ b/src/pubkey.c @@ -31,7 +31,7 @@ int pubkey_main(int argc, char *argv[]) for (;;) { trailing_char = getc(stdin); - if (!trailing_char || isspace(trailing_char) || isblank(trailing_char)) + if (!trailing_char || isspace(trailing_char)) continue; if (trailing_char == EOF) break; |