Commit 0aa75d1f authored by Mark Andrews's avatar Mark Andrews

-m was not effective

parent 78c6b983
Pipeline #14259 passed with stages
in 1 minute and 19 seconds
......@@ -4017,7 +4017,7 @@ main(int argc, char **argv) {
}
exit (0);
case 'm': n = strtol(optarg, &end, 10);
if (*end == '0' && n > 10)
if (*end == '\0' && n > 10)
maxoutstanding = n;
if (maxoutstanding > FD_SETSIZE - 10)
maxoutstanding = FD_SETSIZE - 10;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment