From 3a51a0df9c1841837df695ba1a2010ed51865a20 Mon Sep 17 00:00:00 2001 From: Peguen <73380451+Peguen@users.noreply.github.com> Date: Tue, 24 Sep 2024 13:28:37 +0200 Subject: [PATCH] [python] Bugfix mon_monitoring() crash bugfix in ecal_wrap.cxx for connections_loc/ext and message drops. (#1743) --- lang/python/core/src/ecal_wrap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/python/core/src/ecal_wrap.cxx b/lang/python/core/src/ecal_wrap.cxx index f94cb983d7..9b81a728c0 100644 --- a/lang/python/core/src/ecal_wrap.cxx +++ b/lang/python/core/src/ecal_wrap.cxx @@ -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);