From c99a4c85c0763b1f7f21a157eecf614c626330b6 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 2 May 2005 18:18:27 +0000 Subject: code cleanup --- lib/libalpm/sync.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 113fec9d..15ea7789 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -364,8 +364,7 @@ int sync_prepare(pmtrans_t *trans, pmdb_t *db_local, PMList *dbs_sync, PMList ** } TRANS_CB(trans, PM_TRANS_EVT_RESOLVEDEPS_DONE, NULL, NULL); - /* ORE - check for inter-conflicts and whatnot */ + /* check for inter-conflicts and whatnot */ TRANS_CB(trans, PM_TRANS_EVT_INTERCONFLICTS_START, NULL, NULL); deps = checkdeps(db_local, PM_TRANS_TYPE_UPGRADE, list); if(deps) { @@ -484,7 +483,7 @@ int sync_commit(pmtrans_t *trans, pmdb_t *db_local) tr = trans_new(PM_TRANS_TYPE_REMOVE, PM_TRANS_FLAG_NODEPS); /* ORE */ if(tr == NULL) { - _alpm_log(PM_LOG_ERROR, "could not create transaction"); + _alpm_log(PM_LOG_ERROR, "could not create removal transaction"); pm_errno = PM_ERR_XXX; goto error; } @@ -507,14 +506,14 @@ int sync_commit(pmtrans_t *trans, pmdb_t *db_local) if(replaces) { _alpm_log(PM_LOG_FLOW1, "removing to-be-replaced packages"); if(trans_prepare(tr, &data) == -1) { - _alpm_log(PM_LOG_ERROR, "could not prepare transaction"); + _alpm_log(PM_LOG_ERROR, "could not prepare removal transaction"); pm_errno = PM_ERR_XXX; goto error; } /* we want the frontend to be aware of commit details */ tr->cb = trans->cb; if(trans_commit(tr) == -1) { - _alpm_log(PM_LOG_ERROR, "could not commit transaction"); + _alpm_log(PM_LOG_ERROR, "could not commit removal transaction"); pm_errno = PM_ERR_XXX; goto error; } -- cgit v1.2.3-70-g09d2