summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index c8c8f3e1..96ca1be5 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -480,9 +480,10 @@ void *alpm_trans_getinfo(unsigned char parm)
trans = handle->trans;
switch(parm) {
- case PM_TRANS_TYPE: data = (void *)(int)trans->type; break;
- case PM_TRANS_FLAGS: data = (void *)(int)trans->flags; break;
- case PM_TRANS_TARGETS: data = trans->targets; break;
+ case PM_TRANS_TYPE: data = (void *)(int)trans->type; break;
+ case PM_TRANS_FLAGS: data = (void *)(int)trans->flags; break;
+ case PM_TRANS_TARGETS: data = trans->targets; break;
+ case PM_TRANS_PACKAGES: data = trans->packages; break;
default:
data = NULL;
break;