diff --git a/src/controller/controller_statistics.cpp b/src/controller/controller_statistics.cpp index df8c645d..805f0075 100644 --- a/src/controller/controller_statistics.cpp +++ b/src/controller/controller_statistics.cpp @@ -1588,9 +1588,9 @@ void Controller::handlePrometheus(HTTP::Parser &H, Socket::Connection &conn, int totUnspecified++; }else if (thisSessId[0] == 'O'){ totOutputs++; - outputs[statComm.getConnector(idx)]++; }else{ totViewers++; + outputs[statComm.getConnector(idx)]++; } }