From 120e91c836ac2cccd4838c96cc6b9083674e4b0f Mon Sep 17 00:00:00 2001 From: Gerardo Orellana Date: Sun, 19 Jul 2015 14:35:23 -0500 Subject: [PATCH] Removed panel descriptions in the terminal output. --- src/gdashboard.h | 1 - src/goaccess.c | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/src/gdashboard.h b/src/gdashboard.h index 6e54e6ff2a..7451bb9e69 100644 --- a/src/gdashboard.h +++ b/src/gdashboard.h @@ -85,7 +85,6 @@ typedef struct GDashModule_ { GDashData *data; GModule module; - const char *desc; const char *head; int alloc_data; /* alloc data items */ diff --git a/src/goaccess.c b/src/goaccess.c index badf08f0cd..727c61c52e 100644 --- a/src/goaccess.c +++ b/src/goaccess.c @@ -210,57 +210,44 @@ allocate_data (void) case VISITORS: dash->module[module].head = (!conf.ignore_crawlers ? VISIT_HEAD INCLUDE_BOTS : VISIT_HEAD); - dash->module[module].desc = VISIT_DESC; break; case REQUESTS: dash->module[module].head = REQUE_HEAD; - dash->module[module].desc = REQUE_DESC; break; case REQUESTS_STATIC: dash->module[module].head = STATI_HEAD; - dash->module[module].desc = STATI_DESC; break; case NOT_FOUND: dash->module[module].head = FOUND_HEAD; - dash->module[module].desc = FOUND_DESC; break; case HOSTS: dash->module[module].head = HOSTS_HEAD; - dash->module[module].desc = HOSTS_DESC; break; case OS: dash->module[module].head = OPERA_HEAD; - dash->module[module].desc = OPERA_DESC; break; case BROWSERS: dash->module[module].head = BROWS_HEAD; - dash->module[module].desc = BROWS_DESC; break; case VISIT_TIMES: dash->module[module].head = VTIME_HEAD; - dash->module[module].desc = VTIME_DESC; break; case REFERRERS: dash->module[module].head = REFER_HEAD; - dash->module[module].desc = REFER_DESC; break; case REFERRING_SITES: dash->module[module].head = SITES_HEAD; - dash->module[module].desc = SITES_DESC; break; case KEYPHRASES: dash->module[module].head = KEYPH_HEAD; - dash->module[module].desc = KEYPH_DESC; break; #ifdef HAVE_LIBGEOIP case GEO_LOCATION: dash->module[module].head = GEOLO_HEAD; - dash->module[module].desc = GEOLO_DESC; break; #endif case STATUS_CODES: dash->module[module].head = CODES_HEAD; - dash->module[module].desc = CODES_DESC; break; }