From 9f1c849241011b592f4db876c0184d0c7428f5fd Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Fri, 29 Jan 2010 22:38:01 +0100 Subject: [PATCH] Add logdomain for DACP --- src/logger.c | 2 +- src/logger.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/logger.c b/src/logger.c index 6731c2c5..07efbba7 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", "rsp", "scan", "xcode", "event", "remote" }; +static char *labels[] = { "config", "daap", "db", "httpd", "main", "mdns", "misc", "rsp", "scan", "xcode", "event", "remote", "dacp" }; static int diff --git a/src/logger.h b/src/logger.h index b1346151..bd719322 100644 --- a/src/logger.h +++ b/src/logger.h @@ -18,8 +18,9 @@ /* libevent logging */ #define L_EVENT 10 #define L_REMOTE 11 +#define L_DACP 12 -#define N_LOGDOMAINS 12 +#define N_LOGDOMAINS 13 /* Severities */ #define E_FATAL 0