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

Commit 58e4f9c

Browse files
committed
resolve conflicts
1 parent 369fc2c commit 58e4f9c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/server/zmqeventsupplier.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,6 +1702,12 @@ void ZmqEventSupplier::push_event_loop(DeviceImpl *device_impl,EventType event_t
17021702
struct SuppliedEventData sent_value;
17031703
::memset(&sent_value,0,sizeof(sent_value));
17041704

1705+
if (*ite >= 5)
1706+
{
1707+
ev_name = EVENT_COMPAT_IDL5 + ev_name;
1708+
name_changed = true;
1709+
}
1710+
17051711
if (except == NULL)
17061712
{
17071713
switch (*ite)
@@ -1710,8 +1716,6 @@ void ZmqEventSupplier::push_event_loop(DeviceImpl *device_impl,EventType event_t
17101716
case 6:
17111717
case 5: {
17121718
convert_att_event_to_5(attr_value, sent_value, need_free, att);
1713-
ev_name = EVENT_COMPAT_IDL5 + ev_name;
1714-
name_changed = true;
17151719
}
17161720
break;
17171721

0 commit comments

Comments
 (0)