diff options
Diffstat (limited to 'CAN-binder/low-can-binding/diagnostic')
-rw-r--r-- | CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp index a52bd8fd..c1b06406 100644 --- a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp +++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp @@ -523,7 +523,7 @@ openxc_VehicleMessage diagnostic_manager_t::relay_diagnostic_response(active_dia value = adr->get_decoder()(&response, value); } - if((response.success && strnlen(adr->get_name().c_str(), adr->get_name().size())) > 0) + if((response.success && adr->get_name().size()) > 0) { // If name, include 'value' instead of payload, and leave of response // details. |