Init Janus_Healthy although it is never used

pull/3530/head
Isaac Connor 2022-07-14 10:29:10 -04:00
parent 0cd315c6a4
commit 4ab8166665
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@
#include "zm_monitor.h"
Monitor::JanusManager::JanusManager(Monitor *parent_) { //constructor takes care of init and calls add_to
Monitor::JanusManager::JanusManager(Monitor *parent_) :
parent(parent_),
Janus_Healthy(false)
{
//constructor takes care of init and calls add_to
parent = parent_;
if ((config.janus_path != nullptr) && (config.janus_path[0] != '\0')) {
janus_endpoint = config.janus_path; //TODO: strip trailing /