Date: Tuesday, February 6, 2007 @ 16:28:30 Author: dan Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: package.c (1.60 -> 1.61) Cleaning up mistakes. :P -----------+ package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pacman-lib/lib/libalpm/package.c diff -u pacman-lib/lib/libalpm/package.c:1.60 pacman-lib/lib/libalpm/package.c:1.61 --- pacman-lib/lib/libalpm/package.c:1.60 Tue Feb 6 15:57:17 2007 +++ pacman-lib/lib/libalpm/package.c Tue Feb 6 16:28:29 2007 @@ -125,7 +125,7 @@ /* 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); }