summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-06 22:39:41 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:05:17 +0100
commit609bb7b10984e6a04f4a1ec977ab695835ffcdae (patch)
tree3fe086a8c86ba8028100f4f02299452b6c3dd868
parenta1a0b7b176f6c34c0e644335ff70be3f7421494b (diff)
Fix: typo
Change-Id: I882595f4a0f28c60b12f8c6ed0bff11a80af29af Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-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);