summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 0a68a2bc..7f33f13d 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -133,6 +133,7 @@ int trans_addtarget(pmtrans_t *trans, char *target)
}
break;
}
+
trans->targets = pm_list_add(trans->targets, strdup(target));
return(0);