This patch is "No signal(s) found for %s." return value is ret = -1.
Change-Id: Ia6f4f2db13beb7f9d3507d890383fc13cbddac0f
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
openxc_DynamicField search_key = build_DynamicField(tag);
sf = utils::signals_manager_t::instance().find_signals(search_key);
if (sf.can_signals.empty() && sf.diagnostic_messages.empty())
openxc_DynamicField search_key = build_DynamicField(tag);
sf = utils::signals_manager_t::instance().find_signals(search_key);
if (sf.can_signals.empty() && sf.diagnostic_messages.empty())
AFB_NOTICE("No signal(s) found for %s.", tag.c_str());
AFB_NOTICE("No signal(s) found for %s.", tag.c_str());
- ret = subscribe_unsubscribe_signals(request, subscribe, sf, event_filter);
+ {ret = subscribe_unsubscribe_signals(request, subscribe, sf, event_filter);}