From 2edd4076bc0e55177cedc57945b780dc35c9938f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 15 Aug 2015 23:41:49 +0200 Subject: Fix several FIG0/19 bugs, subchan id in config --- src/MuxElements.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/MuxElements.cpp') diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index 452e179..60056e4 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -48,13 +48,15 @@ using namespace std; std::string AnnouncementCluster::tostring() const { stringstream ss; - ss << " cluster id : " << (int)cluster_id; - ss << " flags : 0x" << boost::format("%04x") % flags; - ss << " subchannel : " << subchanneluid; + ss << "cluster id(" << (int)cluster_id; + ss << "flags 0x" << boost::format("%04x") % flags; + ss << ", subchannel " << subchanneluid; if (m_active) { - ss << " *"; + ss << " *"; } + ss << " )"; + return ss.str(); } -- cgit v1.2.3