diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-06 22:39:41 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 17:05:17 +0100 |
commit | 609bb7b10984e6a04f4a1ec977ab695835ffcdae (patch) | |
tree | 3fe086a8c86ba8028100f4f02299452b6c3dd868 /src/low-can-binding.cpp | |
parent | a1a0b7b176f6c34c0e644335ff70be3f7421494b (diff) |
Fix: typo
Change-Id: I882595f4a0f28c60b12f8c6ed0bff11a80af29af
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.cpp')
-rw-r--r-- | src/low-can-binding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |