summaryrefslogtreecommitdiff
path: root/lib/rpmds.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-09-11 06:58:00 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-09-11 08:08:46 +0300
commit03b6fcb1a19f82708ed5453d474584e7aa5782be (patch)
tree02b495ef26636a88a6cc54c72cf6c9f6768833de /lib/rpmds.c
parent9d0e0fcc2304360aa8af51a4fc3cd7fa00703fcc (diff)
downloadlibrpm-tizen-03b6fcb1a19f82708ed5453d474584e7aa5782be.tar.gz
librpm-tizen-03b6fcb1a19f82708ed5453d474584e7aa5782be.tar.bz2
librpm-tizen-03b6fcb1a19f82708ed5453d474584e7aa5782be.zip
Use getter functions for name, evr and flags in rpmdsCurrent()
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r--lib/rpmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c
index 25387e33a..51d3f4b9d 100644
--- a/lib/rpmds.c
+++ b/lib/rpmds.c
@@ -259,8 +259,8 @@ rpmds rpmdsCurrent(rpmds ds)
{
rpmds cds = NULL;
if (ds != NULL && ds->i >= 0 && ds->i < ds->Count) {
- cds = singleDS(ds->tagN, ds->N[ds->i], ds->EVR[ds->i],
- ds->Flags[ds->i], ds->instance, rpmdsColor(ds));
+ cds = singleDS(ds->tagN, rpmdsN(ds), rpmdsEVR(ds),
+ rpmdsFlags(ds), ds->instance, rpmdsColor(ds));
}
return cds;
}