Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-16 11:42:10 -0500
committerDan McGee <dan@archlinux.org>2011-06-16 11:57:33 -0500
commit7f6c1a76c66fb718fad2ecce68f99ee13d18ff15 (patch)
tree4f4bac122e324a1b5cea081c2e1a492453373c46 /src/util/testdb.c
parent19fcc7401666cd892f7b8a5a49854a1b2eb9988b (diff)
Make pmdepend_t and pmdepmissing_t public
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
-rw-r--r--src/util/testdb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index aeccdb7c..4937480d 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -101,9 +101,8 @@ static int checkdeps(alpm_list_t *pkglist)
data = alpm_checkdeps(handle, pkglist, NULL, pkglist, 0);
for(i = data; i; i = alpm_list_next(i)) {
pmdepmissing_t *miss = alpm_list_getdata(i);
- pmdepend_t *dep = alpm_miss_get_dep(miss);
- char *depstring = alpm_dep_compute_string(dep);
- printf("missing dependency for %s : %s\n", alpm_miss_get_target(miss),
+ char *depstring = alpm_dep_compute_string(miss->depend);
+ printf("missing dependency for %s : %s\n", miss->target,
depstring);
free(depstring);
ret++;