Kaydet (Commit) 84331bfc authored tarafından Ozan Çağlayan's avatar Ozan Çağlayan

Compare against non-unique bus name too

üst 55b3b60e
...@@ -196,7 +196,8 @@ filter_func(DBusConnection *conn, DBusMessage *bus_msg, void *data) ...@@ -196,7 +196,8 @@ filter_func(DBusConnection *conn, DBusMessage *bus_msg, void *data)
PyObject *py_args = pydbus_import(bus_msg); PyObject *py_args = pydbus_import(bus_msg);
if (!dbus_message_has_destination(bus_msg, config_unique_address)) { if (!dbus_message_has_destination(bus_msg, config_unique_address)
&& strncmp(dbus_message_get_destination(bus_msg), DBUS_SERVICE_NAME, strlen(DBUS_SERVICE_NAME))) {
return DBUS_HANDLER_RESULT_HANDLED; return DBUS_HANDLER_RESULT_HANDLED;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment