diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-06 13:37:18 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-14 15:59:57 -0500 |
commit | 8f72ffbc4521008897fff0819cae4c80f8405391 (patch) | |
tree | 0e9f73c51695acce2ac477f927d0f890ba1f9c18 /src/util/testdb.c | |
parent | 0fe93bc34c4f463fbaeaa8be7a00e10bc0bc8b4d (diff) | |
download | pacman-8f72ffbc4521008897fff0819cae4c80f8405391.tar.xz |
Make alpm_db_set_pkgreason() arguments more sane
This can only ever operate on the local database, and a local package at
that. Change the function signature to take a handle and package object,
add the relevant asserts, and ensure the frontend can detect the package
not found condition when finding packages to pass to this method.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
0 files changed, 0 insertions, 0 deletions