diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-24 20:59:24 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-24 20:59:24 -0500 |
commit | 20ff0cd40fd228f56251634a7429439244c24eac (patch) | |
tree | 81fada55c28ec86b3515dd7ae9d65a3afa809f76 /lib/libalpm/sync.h | |
parent | 1583a2079c8e84c9cd960a596dae2e36c9077bbb (diff) | |
download | 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/sync.h')
0 files changed, 0 insertions, 0 deletions