Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingvord committed Oct 24, 2017
1 parent 369fc2c commit 58e4f9c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/server/zmqeventsupplier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,12 @@ void ZmqEventSupplier::push_event_loop(DeviceImpl *device_impl,EventType event_t
struct SuppliedEventData sent_value;
::memset(&sent_value,0,sizeof(sent_value));

if (*ite >= 5)
{
ev_name = EVENT_COMPAT_IDL5 + ev_name;
name_changed = true;
}

if (except == NULL)
{
switch (*ite)
Expand All @@ -1710,8 +1716,6 @@ void ZmqEventSupplier::push_event_loop(DeviceImpl *device_impl,EventType event_t
case 6:
case 5: {
convert_att_event_to_5(attr_value, sent_value, need_free, att);
ev_name = EVENT_COMPAT_IDL5 + ev_name;
name_changed = true;
}
break;

Expand Down

0 comments on commit 58e4f9c

Please sign in to comment.