summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-01 22:51:21 +0200
committerDan McGee <dan@archlinux.org>2011-07-05 17:13:20 +0200
commite8443b1685cc99cf3a46461e7a12c9b616fac44e (patch)
tree96811e49925e3ec90c388d114f2d2a551354fc0e /src/util
parent7af0ab1cde9398c938a7a221aca5787934a16121 (diff)
downloadpacman-e8443b1685cc99cf3a46461e7a12c9b616fac44e.tar.gz
pacman-e8443b1685cc99cf3a46461e7a12c9b616fac44e.tar.xz
Correctly check the GPG error codes
The error code is in fact a bitmask value of an error code and an error source, so use the proper function to get only the relevant bits. For the no error case, this shouldn't ever matter, but it bit me when I was trying to compare the error code to other values and wondered why it wasn't working, so set a good example. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions