summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-02 13:01:58 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-02 13:01:58 +0000
commitd7f4350c298b804a287637857e4a5e945dfa0b7f (patch)
tree3082f60927577fc14dd534f5bff8b0f470c90c2d /lib
parentd2ce54df86a4e6a49828cb09ac69b45633828c15 (diff)
fixed a typo
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
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);