From c59217f58e912502e8db22c4cb321ee7ecfcbc59 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Thu, 4 Jun 2009 16:04:51 +0200 Subject: [PATCH] Remove the unused L_PARSE logdomain --- src/logger.c | 2 +- src/logger.h | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/logger.c b/src/logger.c index f90e7425..8c246ada 100644 --- a/src/logger.c +++ b/src/logger.c @@ -34,7 +34,7 @@ static int threshold; static int console; static char *logfilename; static FILE *logfile; -static char *labels[] = { "config", "daap", "db", "httpd", "main", "mdns", "misc", "parse", "rsp", "scan", "xcode", "event", "lock" }; +static char *labels[] = { "config", "daap", "db", "httpd", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "lock" }; static int diff --git a/src/logger.h b/src/logger.h index 7221f262..05da27a2 100644 --- a/src/logger.h +++ b/src/logger.h @@ -12,16 +12,15 @@ #define L_MAIN 4 #define L_MDNS 5 #define L_MISC 6 -#define L_PARSE 7 -#define L_RSP 8 -#define L_SCAN 9 -#define L_XCODE 10 +#define L_RSP 7 +#define L_SCAN 8 +#define L_XCODE 9 /* libevent logging */ -#define L_EVENT 11 +#define L_EVENT 10 /* Will go away */ -#define L_LOCK 12 -#define N_LOGDOMAINS 13 +#define L_LOCK 11 +#define N_LOGDOMAINS 12 /* Severities */ #define E_FATAL 0