Use sudo_strtonum() explicitly instead of via a macro.
This commit is contained in:
@@ -60,7 +60,7 @@ check_addr(char *input)
|
||||
cp = input + len;
|
||||
while (isspace((unsigned char)*cp))
|
||||
cp++;
|
||||
expected = strtonum(cp, 0, 1, &errstr);
|
||||
expected = sudo_strtonum(cp, 0, 1, &errstr);
|
||||
if (errstr != NULL)
|
||||
sudo_fatalx("expecting 0 or 1, got %s", cp);
|
||||
input[len] = '\0';
|
||||
|
Reference in New Issue
Block a user