From d7f4350c298b804a287637857e4a5e945dfa0b7f Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 2 Jan 2006 13:01:58 +0000 Subject: fixed a typo --- lib/libalpm/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3-70-g09d2