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:
Jason A. Donenfeld 2020-08-04 14:04:52 +02:00
parent b4a8a18797
commit cf2bf09524
1 changed files with 1 additions and 1 deletions

View File

@ -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;