diff options
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r-- | src/MuxElements.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
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(); } |