pubkey: isblank is a subset of isspace
Therefore, there's no need to test both. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
b4a8a18797
commit
cf2bf09524
|
@ -31,7 +31,7 @@ int pubkey_main(int argc, char *argv[])
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
trailing_char = getc(stdin);
|
trailing_char = getc(stdin);
|
||||||
if (!trailing_char || isspace(trailing_char) || isblank(trailing_char))
|
if (!trailing_char || isspace(trailing_char))
|
||||||
continue;
|
continue;
|
||||||
if (trailing_char == EOF)
|
if (trailing_char == EOF)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue