index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/add.c | 2 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index e63da6f4..ea0b29d2 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -362,7 +362,7 @@ int add_commit(pmtrans_t *trans, pmdb_t *db) } /* copy the skiplist over */ for(lp = trans->skiplist; lp; lp = lp->next) { - pm_list_add(tr->skiplist, lp->data); + tr->skiplist = pm_list_add(tr->skiplist, lp->data); } if(remove_commit(tr, db) == -1) { FREETRANS(tr); |