summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/cache.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-22 07:36:05 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-22 07:36:05 +0100
commitcd2309eb735d4e7880ccaedfd3935a4b52d4e394 (patch)
treee845657611f339ca7e7ae91ef7b7f86ab346c7f8 /lib/libalpm/cache.c
parent37a3f26d2aa61474d0e7d9117a70dc5facc28883 (diff)
downloadpacman-cd2309eb735d4e7880ccaedfd3935a4b52d4e394.tar.gz
pacman-cd2309eb735d4e7880ccaedfd3935a4b52d4e394.tar.xz
* debug cleanup (more)
* Fixed conflict checking. I had mistakenly assumed that the transaction packages were of type 'pmsyncpkg_t', but that is not the case. Reverted back to pmpkg_t's and fixed some checking a bit. * pactest results: PASSED = 71 (100.00%)
Diffstat (limited to 'lib/libalpm/cache.c')
-rw-r--r--lib/libalpm/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index e3df2fd2..57992d87 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -106,7 +106,7 @@ alpm_list_t *_alpm_db_get_pkgcache(pmdb_t *db, pmdbinfrq_t infolevel)
_alpm_db_ensure_pkgcache(db, infolevel);
if(!db->pkgcache) {
- _alpm_log(PM_LOG_DEBUG, _("error: pkgcache is NULL for db %s"), db->treename);
+ _alpm_log(PM_LOG_DEBUG, _("error: pkgcache is NULL for db '%s'"), db->treename);
}
return(db->pkgcache);
}
@@ -197,7 +197,7 @@ pmpkg_t *_alpm_db_get_pkgfromcache(pmdb_t *db, char *target)
alpm_list_t *pkgcache = _alpm_db_get_pkgcache(db, INFRQ_NONE);
if(!pkgcache) {
- _alpm_log(PM_LOG_DEBUG, _("error: pkgcache is NULL for db '%s'"), db->treename);
+ _alpm_log(PM_LOG_DEBUG, _("error: failed to get '%s' from NULL pkgcache"), target);
return(NULL);
}