diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-19 09:44:49 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-19 09:44:49 +0200 |
commit | 0730eb05d77b31724743f43c533fc5907930f126 (patch) | |
tree | 1f50de6ab2597e0f4de723d97958493f2a9dcf01 /dbus-proxy | |
parent | 8b77e8ae1709a8808c39879ca02a68500430ae3f (diff) | |
download | xdg-app-0730eb05d77b31724743f43c533fc5907930f126.tar.gz |
dbus-filter: Log arg0 validation failures
Diffstat (limited to 'dbus-proxy')
-rw-r--r-- | dbus-proxy/xdg-app-proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus-proxy/xdg-app-proxy.c b/dbus-proxy/xdg-app-proxy.c index e2e7744..1839d05 100644 --- a/dbus-proxy/xdg-app-proxy.c +++ b/dbus-proxy/xdg-app-proxy.c @@ -1450,6 +1450,8 @@ validate_arg0_name (XdgAppProxyClient *client, Buffer *buffer, XdgAppPolicy requ if (name_policy >= required_policy) res = TRUE; + else if (client->proxy->log_messages) + g_print ("Filtering message due to arg0 %s, policy: %d (required %d)\n", name, name_policy, required_policy); } g_object_unref (message); |