Fix: typo
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 6 Mar 2017 21:39:41 +0000 (22:39 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:05:17 +0000 (17:05 +0100)
Change-Id: I882595f4a0f28c60b12f8c6ed0bff11a80af29af
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/low-can-binding.cpp

index 84f1d78..13452a4 100644 (file)
@@ -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);