summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm_list.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-04 22:42:50 +0200
committerDan McGee <dan@archlinux.org>2011-05-04 22:46:18 +0200
commitc03faa32f335f3fb7bc1bc8718dd1781781ef3dd (patch)
tree98fd183e210e4e762215ed75229565f54fe7f2e1 /lib/libalpm/alpm_list.h
parent4758cfe33f9a8473312a9fee718c45bf72f555f5 (diff)
downloadpacman-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/alpm_list.h')
0 files changed, 0 insertions, 0 deletions