diff options
author | Dan McGee <dan@archlinux.org> | 2011-05-04 15:42:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-04 15:46:18 -0500 |
commit | c03faa32f335f3fb7bc1bc8718dd1781781ef3dd (patch) | |
tree | 98fd183e210e4e762215ed75229565f54fe7f2e1 /src/util/testpkg.c | |
parent | 4758cfe33f9a8473312a9fee718c45bf72f555f5 (diff) |
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 'src/util/testpkg.c')
0 files changed, 0 insertions, 0 deletions