diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 03:59:24 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 03:59:24 +0200 |
commit | 20ff0cd40fd228f56251634a7429439244c24eac (patch) | |
tree | 81fada55c28ec86b3515dd7ae9d65a3afa809f76 /lib/libalpm/po | |
parent | 1583a2079c8e84c9cd960a596dae2e36c9077bbb (diff) | |
download | pacman-20ff0cd40fd228f56251634a7429439244c24eac.tar.gz pacman-20ff0cd40fd228f56251634a7429439244c24eac.tar.xz |
util/testdb: don't return crazy error values
With some contrived examples, you could easily make testdb return a very
high error count, which could easily overflow the 8-bit unsigned integer
limit. Instead, simply return 1 or 0 based on whether errors were found.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po')
0 files changed, 0 insertions, 0 deletions