summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-02 14:01:58 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-01-02 14:01:58 +0100
commitd7f4350c298b804a287637857e4a5e945dfa0b7f (patch)
tree3082f60927577fc14dd534f5bff8b0f470c90c2d /lib/libalpm
parentd2ce54df86a4e6a49828cb09ac69b45633828c15 (diff)
downloadpacman-d7f4350c298b804a287637857e4a5e945dfa0b7f.tar.gz
pacman-d7f4350c298b804a287637857e4a5e945dfa0b7f.tar.xz
fixed a typo
Diffstat (limited to 'lib/libalpm')
-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);