Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most applets return whatever apk_solver_commit() returns. It is the number of errors found (or negative for hard error). Sanitize the error value to not give false success exit code in the unlikely case of errors % 256 == 0. Reported-by: Max Justicz <max@justi.cz>
- Loading branch information
A thought: if
r < 0
is true, the end result will be thatr = 99
as bothif
statements will match. If the two lines are reversed you'd have both 250 and 99 as possible return values. Or am I reading this wrong?