From 45720f32e913170cb5445afd8c690f607b5377db Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 6 Jan 2006 20:47:26 +0000 Subject: fixed the usage of 4 list_is_in calls (should have been list_is_strin) --- lib/libalpm/sync.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 3eadfdf1..7f770f1c 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -456,10 +456,12 @@ int sync_prepare(pmtrans_t *trans, pmdb_t *db_local, PMList *dbs_sync, PMList ** /* figure out which one was requested in targets. If they both were, * then it's still an unresolvable conflict. */ - if(pm_list_is_in(miss->depend.name, trans->targets) && !pm_list_is_in(miss->target, trans->targets)) { + if(pm_list_is_strin(miss->depend.name, trans->targets) + && !pm_list_is_strin(miss->target, trans->targets)) { /* remove miss->target */ rmpkg = strdup(miss->target); - } else if(pm_list_is_in(miss->target, trans->targets) && !pm_list_is_in(miss->depend.name, trans->targets)) { + } else if(pm_list_is_strin(miss->target, trans->targets) + && !pm_list_is_strin(miss->depend.name, trans->targets)) { /* remove miss->depend.name */ rmpkg = strdup(miss->depend.name); } else { -- cgit v1.2.3-70-g09d2