summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-24 11:15:27 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-24 11:15:27 +0000
commit2f5060e439a4818cc8e5ef4a142df91ca2bf7b83 (patch)
tree5cce0eab85de8154316c90bc1b0baee130883e5d
parentbcd41a4a3d288387ac4eed76a290bc753ad1f489 (diff)
downloadpacman-2f5060e439a4818cc8e5ef4a142df91ca2bf7b83.tar.xz
logs cleanup
-rw-r--r--lib/libalpm/cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index 3e1c230a..f8942002 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -92,8 +92,6 @@ int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg)
{
pmpkg_t *newpkg;
- _alpm_log(PM_LOG_FUNCTION, "[db_add_pkgincache] called");
-
if(db == NULL || pkg == NULL) {
return(-1);
}
@@ -102,6 +100,7 @@ int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg)
if(newpkg == NULL) {
return(-1);
}
+ _alpm_log(PM_LOG_DEBUG, "adding entry %s in \"%s\" cache", newpkg->name, db->treename);
db->pkgcache = pm_list_add_sorted(db->pkgcache, newpkg, pkg_cmp);
db_free_grpcache(db);
@@ -118,8 +117,6 @@ int db_remove_pkgfromcache(pmdb_t *db, char *name)
return(-1);
}
- _alpm_log(PM_LOG_FUNCTION, "[db_remove_pkgfromcache] called");
-
for(i = db->pkgcache; i && !found; i = i->next) {
if(strcmp(((pmpkg_t *)i->data)->name, name) == 0) {
_alpm_log(PM_LOG_DEBUG, "removing entry %s from \"%s\" cache", name, db->treename);