diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-21 15:02:03 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-21 15:02:03 +0100 |
commit | 7b60a639d19ddacd62dcac82d6538907bf4b1a9f (patch) | |
tree | 02529cf68072870bce589b64a871e150a61b0550 /lib | |
parent | 110eb314f0d8b4d28b9ff68ddd5bb5b07a1f8407 (diff) | |
download | pacman-7b60a639d19ddacd62dcac82d6538907bf4b1a9f.tar.gz pacman-7b60a639d19ddacd62dcac82d6538907bf4b1a9f.tar.xz |
Minor code cleanups
Wrap lines of long length, noticed while creating and messing around
with some of the other maint branch patches.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/sync.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index d420cefb..f83b0ef9 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -166,7 +166,8 @@ int SYMEXPORT alpm_sync_sysupgrade(int enable_downgrade) continue; } - /* If spkg is already in the target list, we append lpkg to spkg's removes list */ + /* If spkg is already in the target list, we append lpkg to spkg's + * removes list */ pmpkg_t *tpkg = _alpm_pkg_find(trans->add, spkg->name); if(tpkg) { /* sanity check, multiple repos can contain spkg->name */ @@ -330,8 +331,10 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync } } - /* Compute the fake local database for resolvedeps (partial fix for the phonon/qt issue) */ - alpm_list_t *localpkgs = alpm_list_diff(_alpm_db_get_pkgcache(db_local), trans->add, _alpm_pkg_cmp); + /* Compute the fake local database for resolvedeps (partial fix for the + * phonon/qt issue) */ + alpm_list_t *localpkgs = alpm_list_diff(_alpm_db_get_pkgcache(db_local), + trans->add, _alpm_pkg_cmp); /* Resolve packages in the transaction one at a time, in addition building up a list of packages which could not be resolved. */ |