From e9dd44fdb412afabc3b88b540578bd09b3dde631 Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Fri, 10 Apr 2020 13:01:36 -0700 Subject: [PATCH] Minor changes --- daemon/browser.cpp | 2 +- daemon/rtsp_client.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/browser.cpp b/daemon/browser.cpp index 81e4c5d..91b2cde 100644 --- a/daemon/browser.cpp +++ b/daemon/browser.cpp @@ -188,7 +188,7 @@ void Browser::on_remove_rtsp_source(const std::string& name, auto rng = name_idx.equal_range(name); while(rng.first != rng.second){ const auto& it = rng.first; - if (it->source == "mDNS" && it->domain == domain && it->name == name) { + if (it->source == "mDNS" && it->domain == domain) { BOOST_LOG_TRIVIAL(info) << "browser:: removing RTSP source " << it->id << " name " << it->name << " domain " << it->domain; diff --git a/daemon/rtsp_client.cpp b/daemon/rtsp_client.cpp index f6a75ee..409e247 100644 --- a/daemon/rtsp_client.cpp +++ b/daemon/rtsp_client.cpp @@ -168,7 +168,7 @@ std::pair RTSPClient::describe(const std::string& path, success = true; } catch (std::exception& e) { - BOOST_LOG_TRIVIAL(error) + BOOST_LOG_TRIVIAL(warning) << "rtsp_client:: error with " << "rtsp://" << address << ":" << port << path << ": " << e.what(); }