diff options
author | Dan McGee <dan@archlinux.org> | 2011-05-04 22:42:50 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-04 22:46:18 +0200 |
commit | c03faa32f335f3fb7bc1bc8718dd1781781ef3dd (patch) | |
tree | 98fd183e210e4e762215ed75229565f54fe7f2e1 /lib/libalpm/graph.h | |
parent | 4758cfe33f9a8473312a9fee718c45bf72f555f5 (diff) | |
download | pacman-c03faa32f335f3fb7bc1bc8718dd1781781ef3dd.tar.gz pacman-c03faa32f335f3fb7bc1bc8718dd1781781ef3dd.tar.xz |
Reduce duplicate signing debug code and fix logic condition
We had a lot of similar looking code that we can collapse down into a
function. This also fixes errors seen when turning on some gcc warnings
and implicitly casting away the const-ness of the string. Free the list
when we are done with it as well.
Also, fix a logic error where we should be checking with &&, not ||.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/graph.h')
0 files changed, 0 insertions, 0 deletions