mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-22 21:40:26 +01:00
dbus-monitor: Disable automatic message filtering
This commit is contained in:
parent
5dba91acea
commit
f1c17c74ac
2 changed files with 2 additions and 2 deletions
|
|
@ -505,7 +505,7 @@ become_monitor (Fixture *f,
|
|||
int i;
|
||||
dbus_uint32_t zero = 0;
|
||||
|
||||
dbus_connection_set_route_peer_messages (f->monitor, TRUE);
|
||||
dbus_connection_set_builtin_filters_enabled (f->monitor, FALSE);
|
||||
|
||||
if (config == NULL)
|
||||
config = f->config;
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ main (int argc, char *argv[])
|
|||
/* Receive o.fd.Peer messages as normal messages, rather than having
|
||||
* libdbus handle them internally, which is the wrong thing for
|
||||
* a monitor */
|
||||
dbus_connection_set_route_peer_messages (connection, TRUE);
|
||||
dbus_connection_set_builtin_filters_enabled (connection, FALSE);
|
||||
|
||||
if (!dbus_connection_add_filter (connection, filter_func,
|
||||
_DBUS_INT_TO_POINTER (binary_mode), NULL))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue