traceroute: fix help text to not show -6 when traceroute6 is off
[oweals/busybox.git] / libbb / xatonum_template.c
index 339a7d35fdcd845ba6524fdefc1ad0d568ac6288..c97a4b795fe82b38d2b6836746d6634034f02105 100644 (file)
@@ -25,9 +25,8 @@ unsigned type FAST_FUNC xstrtou(_range_sfx)(const char *numstr, int base,
        int old_errno;
        char *e;
 
-       /* Disallow '-' and any leading whitespace. Make sure we get the
-        * actual isspace function rather than a macro implementaion. */
-       if (*numstr == '-' || *numstr == '+' || (isspace)(*numstr))
+       /* Disallow '-' and any leading whitespace. */
+       if (*numstr == '-' || *numstr == '+' || isspace(*numstr))
                goto inval;
 
        /* Since this is a lib function, we're not allowed to reset errno to 0.