forked from enlightenment/efl
elm atspi - fix checking return of eldbus_message_iter_arguments_get
fix coverity CID 1353590
This commit is contained in:
parent
6f9857ccab
commit
17e2783c6c
|
@ -3783,8 +3783,9 @@ _registered_listeners_get(void *data, const Eldbus_Message *msg, Eldbus_Pending
|
||||||
}
|
}
|
||||||
while (eldbus_message_iter_get_and_next(iter, 'r', &siter))
|
while (eldbus_message_iter_get_and_next(iter, 'r', &siter))
|
||||||
{
|
{
|
||||||
eldbus_message_iter_arguments_get(siter, "ss", &bus, &event);
|
if (!eldbus_message_iter_arguments_get(siter, "ss", &bus, &event))
|
||||||
_set_broadcast_flag(event, data);
|
ERR("Cannot get bus and event from registered listener");
|
||||||
|
else _set_broadcast_flag(event, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pd->connected)
|
if (!pd->connected)
|
||||||
|
|
Loading…
Reference in New Issue