diff --git a/testbn.c b/testbn.c index 576c18b7..2ea4f459 100644 --- a/testbn.c +++ b/testbn.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) while (*bufp && !isspace((unsigned char)*bufp)) bufp++; - if (bufp) + if (*bufp) *bufp++ = '\0'; while (*bufp) {