From f3ddfa1c2c4a9ac54f129a63dc9673afdc87bb9e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 16 Mar 2017 01:34:20 +0100 Subject: Improve comments Change-Id: I1e43b0aeaff738db11695e77fee23e8c9809f0c1 Signed-off-by: Romain Forlot --- src/diagnostic/diagnostic-manager.cpp | 1 + src/low-can-binding.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp index 31fbf0b..ac0aaad 100644 --- a/src/diagnostic/diagnostic-manager.cpp +++ b/src/diagnostic/diagnostic-manager.cpp @@ -111,6 +111,7 @@ void diagnostic_manager_t::cleanup_request(active_diagnostic_request_t* entry, b find_and_erase(entry, recurring_requests_); if(force) cancel_request(entry); + DEBUG(binder_interface, "cleanup_request: Cancelling completed, recurring request: %s", request_string); } else { diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp index 0b7cd8f..8ea885d 100644 --- a/src/low-can-binding.cpp +++ b/src/low-can-binding.cpp @@ -55,7 +55,7 @@ static int make_subscription_unsubscription(struct afb_req request, const std::s /* Make the subscription or unsubscription to the event */ if (((subscribe ? afb_req_subscribe : afb_req_unsubscribe)(request, s[sig_name])) < 0) { - ERROR(binder_interface, "Operation goes wrong for signal: %s", sig_name.c_str()); + ERROR(binder_interface, "make_subscription_unsubscription: Operation goes wrong for signal: %s", sig_name.c_str()); return 0; } return 1; @@ -67,7 +67,7 @@ static int create_event_handle(const std::string& sig_name, std::mapdaemon, sig_name.c_str()); if (!afb_event_is_valid(s[sig_name])) { - ERROR(binder_interface, "Can't create an event for %s, something goes wrong.", sig_name.c_str()); + ERROR(binder_interface, "create_event_handle: Can't create an event for %s, something goes wrong.", sig_name.c_str()); return 0; } return 1; -- cgit 1.2.3-korg