forked from mirrors/tftp-hpa-google
remap: *actually* build, and fix masked logic errors
Well, now it is actually being compiled, and should hopefully work again... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
33ec23c0dc
commit
2c86ff58dc
3 changed files with 60 additions and 59 deletions
|
@ -499,7 +499,6 @@ int main(int argc, char **argv)
|
|||
break;
|
||||
case OPT_MAP_STEPS:
|
||||
{
|
||||
char *ep;
|
||||
unsigned long steps = strtoul(optarg, &ep, 0);
|
||||
if (*optarg && *ep && steps > 0 && steps <= INT_MAX) {
|
||||
deadman_max_steps = steps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue