aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/low-can-binding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp
index 84f1d789..13452a4c 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);