diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -51,8 +51,7 @@ enum MHD_Result answer_to_connection( if (strcmp(method, "GET") == 0 && strcmp(url, "/") == 0) { snprintf(buff, RES_BUFF, index_format_template, - monitor_generate_status_html(), "(since)", "(week %up)", - "(month %up)", "(total %up)", "(incidents)"); + monitor_generate_status_html(), "(incidents)"); response = MHD_create_response_from_buffer(strlen(buff), (void*)buff, MHD_RESPMEM_PERSISTENT); @@ -98,7 +97,7 @@ int main() { return 1; } - monitor_init("monitor.cfg"); + monitor_init("monitor.cfg", "events.log"); while (1) { monitor_check(); |
