Skip to content

Commit

Permalink
[python] Bugfix mon_monitoring() crash
Browse files Browse the repository at this point in the history
bugfix in ecal_wrap.cxx for connections_loc/ext and message drops. (#1743)
  • Loading branch information
Peguen authored Sep 24, 2024
1 parent 72432ff commit 3a51a0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lang/python/core/src/ecal_wrap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1079,13 +1079,13 @@ namespace
val = Py_BuildValue("i", topic.tsize);
PyDict_SetItemString(topicDict, "tsize", val); Py_DECREF(val);

val = Py_BuildValue("connections_loc", topic.tsize);
val = Py_BuildValue("i", topic.connections_loc);
PyDict_SetItemString(topicDict, "connections_loc", val); Py_DECREF(val);

val = Py_BuildValue("connections_ext", topic.tsize);
val = Py_BuildValue("i", topic.connections_ext);
PyDict_SetItemString(topicDict, "connections_ext", val); Py_DECREF(val);

val = Py_BuildValue("message_drops", topic.tsize);
val = Py_BuildValue("i", topic.message_drops);
PyDict_SetItemString(topicDict, "message_drops", val); Py_DECREF(val);

val = Py_BuildValue("i", topic.did);
Expand Down

0 comments on commit 3a51a0d

Please sign in to comment.