mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Previously, debug_return_bool was the same as debug_return_int
except that it logged true/false for 1/0. However, this appears to trigger a bug in some compilers. To avoid this, debug_return_bool now uses bool, not int. Callers that were passing it an int have been converted to use debug_return_int instead.
This commit is contained in:
@@ -677,7 +677,7 @@ matches_env_check(const char *var, bool *full_match)
|
||||
keepit = !strpbrk(++val, "/%");
|
||||
}
|
||||
}
|
||||
debug_return_bool(keepit);
|
||||
debug_return_int(keepit);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user