Cleaning up mistakes. :P

This commit is contained in:
Dan McGee 2007-02-06 21:28:29 +00:00
parent b03a2388a3
commit 96a0115630
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}