From 25c5b39d05cdb8856098429d0fa6f8da595d5af6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 7 Jun 2007 22:20:40 -0400 Subject: Fix up things after the last few changes * Readd default logmask of ERROR and WARNING * Remove DOWNLOAD log level as it no longer applies * Add 'no targets' logic back in where it applies * Switch some prints in parseconfig to ERROR Signed-off-by: Dan McGee --- src/pacman/conf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pacman/conf.c') diff --git a/src/pacman/conf.c b/src/pacman/conf.c index 3409f8d3..245e3c04 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -34,6 +34,8 @@ config_t *config_new(void) fprintf(stderr, "malloc failure: could not allocate %d bytes\n", sizeof(config_t)); } + config->op = PM_OP_MAIN; + config->logmask = PM_LOG_ERROR | PM_LOG_WARNING; return(config); } -- cgit v1.2.3-70-g09d2