Commit 78a728f0 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Set the default event error log level to LOG_ERR (not LOG_EMERG)

parent dd9c4607
Pipeline #1466 passed with stage
in 9 minutes and 55 seconds
......@@ -55,6 +55,7 @@ static bool new_timed_event(unsigned new_event_num)
memset(new_event, 0, sizeof(*new_event));
new_event->node = NODE_ANY;
new_event->days = (uchar)0xff;
new_event->errlevel = LOG_ERR;
event_t** new_event_list = realloc(cfg.event, sizeof(event_t *)*(cfg.total_events + 1));
if (new_event_list == NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment