index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-07-06 01:22:13 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-07 21:12:55 -0500 |
commit | 72c0ab5c51d5119b6f81c768b1a0f6ff499df292 (patch) | |
tree | d9aa493307a37238c11cb9ba8093efe42f4d8cab /lib/libalpm/sync.c | |
parent | 8856146d71cb4cc512b0cf3414fbc231635822d3 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 12 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 3dc54d0a..9336a2e3 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -462,14 +462,10 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync } } - for(i = trans->packages; i; i = i->next) { - pmpkg_t *spkg = ((pmsyncpkg_t *)i->data)->pkg; - if(_alpm_resolvedeps(db_local, dbs_sync, spkg, &list, - remove, trans, data) == -1) { - /* pm_errno is set by resolvedeps */ - ret = -1; - goto cleanup; - } + if(_alpm_resolvedeps(db_local, dbs_sync, list, remove, data) == -1) { + /* pm_errno is set by resolvedeps */ + ret = -1; + goto cleanup; } for(i = pulled->next; i; i = i->next) { |