diff options
author | Dan McGee <dan@archlinux.org> | 2007-02-06 21:28:29 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-02-06 21:28:29 +0000 |
commit | 96a01156306c3975098caf2a4fe8bdec723c351c (patch) | |
tree | 82af537c4f3ee585e3636a3202d175a77e0fc32f /lib | |
parent | b03a2388a321fb4c903e3771e49de84bc373047f (diff) |
Cleaning up mistakes. :P
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/package.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 1afaf38c..304410d8 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -125,7 +125,7 @@ void _alpm_pkg_free(void *data) /* Is pkgB an upgrade for pkgA ? */ int alpm_pkg_compare_versions(pmpkg_t *pkgA, pmpkg_t *pkgB) { - if(spkg->origin == PKG_FROM_CACHE) { + if(pkgB->origin == PKG_FROM_CACHE) { /* ensure we have the /desc file, which contains the 'force' option */ _alpm_db_read(pkgB->data, INFRQ_DESC, pkgB); } |