aboutsummaryrefslogtreecommitdiffstats
path: root/src/diagnostic/diagnostic-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagnostic/diagnostic-manager.cpp')
-rw-r--r--src/diagnostic/diagnostic-manager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp
index 0b59809e..b4de5543 100644
--- a/src/diagnostic/diagnostic-manager.cpp
+++ b/src/diagnostic/diagnostic-manager.cpp
@@ -75,7 +75,7 @@ void diagnostic_manager_t::cleanup_request(active_diagnostic_request_t& entry, b
entry.set_in_flight(false);
char request_string[128] = {0};
- diagnostic_request_to_string(&entry.get_handle().request,
+ diagnostic_request_to_string(&entry.get_handle()->request,
request_string, sizeof(request_string));
if(entry.get_recurring())
{
@@ -116,7 +116,7 @@ bool diagnostic_manager_t::lookup_recurring_request(const DiagnosticRequest* req
{
active_diagnostic_request_t& candidate = entry;
if(candidate.get_can_bus_dev()->get_device_name() == bus_->get_device_name() &&
- diagnostic_request_equals(&candidate.get_handle().request, request))
+ diagnostic_request_equals(&candidate.get_handle()->request, request))
{
find_and_erase(entry, recurring_requests_);
//existingEntry = entry;
@@ -171,7 +171,7 @@ bool diagnostic_manager_t::add_request(DiagnosticRequest* request, const std::st
entry.set_handle(shims_, request);
char request_string[128] = {0};
- diagnostic_request_to_string(&entry.get_handle().request, request_string,
+ diagnostic_request_to_string(&entry.get_handle()->request, request_string,
sizeof(request_string));
find_and_erase(entry, non_recurring_requests_);
@@ -213,7 +213,7 @@ bool diagnostic_manager_t::add_recurring_request(DiagnosticRequest* request, con
entry.set_handle(shims_, request);
char request_string[128] = {0};
- diagnostic_request_to_string(&entry.get_handle().request, request_string,
+ diagnostic_request_to_string(&entry.get_handle()->request, request_string,
sizeof(request_string));
find_and_erase(entry, recurring_requests_);
@@ -253,4 +253,4 @@ void diagnostic_manager_t::init_diagnostic_shims()
{
shims_ = diagnostic_init_shims(shims_logger, shims_send, NULL);
initialized_ = true;
-} \ No newline at end of file
+}