summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-20 12:56:09 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-20 12:56:09 +0200
commit6b68f5862eadbe0bd37254435619ba92ee834635 (patch)
treeb6e4a8efd0e258e1c90616aa79de091c89899151 /src/MuxElements.cpp
parent4de1e587d973c9bfcc52155f778a33fa9c969c83 (diff)
downloaddabmux-6b68f5862eadbe0bd37254435619ba92ee834635.tar.gz
dabmux-6b68f5862eadbe0bd37254435619ba92ee834635.tar.bz2
dabmux-6b68f5862eadbe0bd37254435619ba92ee834635.zip
Update RemoteControl, taking changes from ODR-DabMod
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp
index c4682e4..0e12515 100644
--- a/src/MuxElements.cpp
+++ b/src/MuxElements.cpp
@@ -424,23 +424,23 @@ void DabComponent::set_parameter(const string& parameter,
case 0:
break;
case -1:
- ss << m_name << " short label " <<
+ ss << m_rc_name << " short label " <<
fields[1] << " is not subset of label '" <<
fields[0] << "'";
etiLog.level(warn) << ss.str();
throw ParameterError(ss.str());
case -2:
- ss << m_name << " short label " <<
+ ss << m_rc_name << " short label " <<
fields[1] << " is too long (max 8 characters)";
etiLog.level(warn) << ss.str();
throw ParameterError(ss.str());
case -3:
- ss << m_name << " label " <<
+ ss << m_rc_name << " label " <<
fields[0] << " is too long (max 16 characters)";
etiLog.level(warn) << ss.str();
throw ParameterError(ss.str());
default:
- ss << m_name << " short label definition: program error !";
+ ss << m_rc_name << " short label definition: program error !";
etiLog.level(alert) << ss.str();
throw ParameterError(ss.str());
}
@@ -547,7 +547,7 @@ void DabService::set_parameter(const string& parameter, const string& value)
fields[0] << " is too long (max 16 characters)";
throw ParameterError(ss.str());
default:
- ss << m_name << " short label definition: program error !";
+ ss << m_rc_name << " short label definition: program error !";
etiLog.level(error) << ss.str();
throw ParameterError(ss.str());
}