From 9c78644a9454fa53c903cb3855d0199a257cc2b3 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 16 Mar 2017 00:54:34 +0100 Subject: Fix diagnostic message name mismatch at decoding. Retrieve adr name prefixed will add uneeded prefix as it is already present. At build time of a Diagnostic request from a diagnostic message, this prefix is added so adr name is already correct. *adr: active diagnostic request Change-Id: Ie5c364bf47a28c80290021651941cd37fa26321a Signed-off-by: Romain Forlot --- src/diagnostic/active-diagnostic-request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/diagnostic/active-diagnostic-request.cpp') diff --git a/src/diagnostic/active-diagnostic-request.cpp b/src/diagnostic/active-diagnostic-request.cpp index 4f288663..a21f7303 100644 --- a/src/diagnostic/active-diagnostic-request.cpp +++ b/src/diagnostic/active-diagnostic-request.cpp @@ -89,7 +89,7 @@ DiagnosticRequestHandle* active_diagnostic_request_t::get_handle() const std::string active_diagnostic_request_t::get_name() const { - return active_diagnostic_request_t::prefix_ + "." + name_; + return name_; } std::string& active_diagnostic_request_t::get_prefix() -- cgit 1.2.3-korg