nc: fix 2 my own buglets, and few someone else's too.

This commit is contained in:
Denis Vlasenko
2006-10-16 01:10:28 +00:00
parent bf39216cc4
commit d0e70af9d1
3 changed files with 75 additions and 48 deletions

View File

@@ -127,7 +127,7 @@ unsigned long xatoul_range(const char *numstr,
unsigned long lower,
unsigned long upper)
{
return xstrtol_range_sfx(numstr, 10, lower, upper, NULL);
return xstrtoul_range_sfx(numstr, 10, lower, upper, NULL);
}
unsigned long xatoul(const char *numstr)