From 609bb7b10984e6a04f4a1ec977ab695835ffcdae Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 6 Mar 2017 22:39:41 +0100 Subject: Fix: typo Change-Id: I882595f4a0f28c60b12f8c6ed0bff11a80af29af Signed-off-by: Romain Forlot --- src/low-can-binding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp index 84f1d78..13452a4 100644 --- a/src/low-can-binding.cpp +++ b/src/low-can-binding.cpp @@ -141,7 +141,7 @@ static int subscribe_unsubscribe_name(struct afb_req request, bool subscribe, co openxc_DynamicField search_key = build_DynamicField(std::string(name)); signals = find_signals(search_key); - if (signalssig.empty()) + if (signals.empty()) ret = 0; ret = subscribe_unsubscribe_signals(request, subscribe, signals); -- cgit 1.2.3-korg