Skip to content

Commit cf2bf09

Browse files
committed
pubkey: isblank is a subset of isspace
Therefore, there's no need to test both. Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent b4a8a18 commit cf2bf09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pubkey.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int pubkey_main(int argc, char *argv[])
3131

3232
for (;;) {
3333
trailing_char = getc(stdin);
34-
if (!trailing_char || isspace(trailing_char) || isblank(trailing_char))
34+
if (!trailing_char || isspace(trailing_char))
3535
continue;
3636
if (trailing_char == EOF)
3737
break;

0 commit comments

Comments
 (0)