diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-07 20:15:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-09 21:24:45 +0200 |
commit | 17a6ac567502975d3a98a34ed58d79c05eb7b8d1 (patch) | |
tree | fb764ae26aac86fd43daa79cb0047cc82f8039e9 /src/pacman/database.c | |
parent | 7968d30510de5a6031af39da498be5c821290b82 (diff) | |
download | pacman-17a6ac567502975d3a98a34ed58d79c05eb7b8d1.tar.gz pacman-17a6ac567502975d3a98a34ed58d79c05eb7b8d1.tar.xz |
Require handle argument to all alpm_option_(get|set)_*() methods
This requires a lot of line changes, but not many functional changes as
more often than not our handle variable is already available in some
fashion.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/database.c')
-rw-r--r-- | src/pacman/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/database.c b/src/pacman/database.c index 123f72d2..33cd49e3 100644 --- a/src/pacman/database.c +++ b/src/pacman/database.c @@ -63,7 +63,7 @@ int pacman_database(alpm_list_t *targets) return 1; } - db_local = alpm_option_get_localdb(); + db_local = alpm_option_get_localdb(config->handle); for(i = targets; i; i = alpm_list_next(i)) { char *pkgname = i->data; if(alpm_db_set_pkgreason(db_local, pkgname, reason) == -1) { |