From 155aeb40fda771b0d7933349c02a497d0b4b6868 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 7 Feb 2007 22:08:37 +0000 Subject: Spruced up the TODOs a bit, got rid of some of them since a lot of it was duplicate anyway. Also removed the last of the ORE tags and replaced them with TODOs. --- lib/libalpm/alpm.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'lib/libalpm/alpm.c') diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 6465b12b..0d7246d0 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -820,19 +820,17 @@ int SYMEXPORT alpm_logaction(char *fmt, ...) vsnprintf(str, LOG_STR_LEN, fmt, args); va_end(args); - /* ORE - We should add a prefix to log strings depending on who called us. - If logaction was called by the frontend: - USER: - and if called internally: - ALPM: - Moreover, the frontend should be able to choose its prefix (USER by default?): - pacman: "PACMAN" - kpacman: "KPACMAN" - ... - It allows to share the log file between several frontends and to actually - know who does what */ - + /* TODO We should add a prefix to log strings depending on who called us. + * If logaction was called by the frontend: + * USER: + * and if called internally: + * ALPM: + * Moreover, the frontend should be able to choose its prefix + * (USER by default?): + * pacman: "PACMAN" + * kpacman: "KPACMAN" + * This would allow us to share the log file between several frontends + * and know who does what */ return(_alpm_logaction(handle->usesyslog, handle->logfd, str)); } /** @} */ -- cgit v1.2.3-24-g4f1b