summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Szyndela <adrian.s@samsung.com>2020-09-24 07:54:59 +0200
committerAdrian Szyndela <adrian.s@samsung.com>2020-09-25 11:47:48 +0200
commitda9462096c11dd2baf4d5b2556f9f59eb78bdaa7 (patch)
tree3d96b0f569fed28ecdd6f9510f785a7366f3af6a
parentbc149d759b07ad97f5baad1f4004e4243a300f69 (diff)
downloaddbus-da9462096c11dd2baf4d5b2556f9f59eb78bdaa7.tar.gz
dbus-da9462096c11dd2baf4d5b2556f9f59eb78bdaa7.tar.bz2
dbus-da9462096c11dd2baf4d5b2556f9f59eb78bdaa7.zip
policy: take proper eavesdropping value in verbose mode
Change-Id: I5a5893d56c1d4fd98d3dc807319c73c9791dff6a
-rw-r--r--bus/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/policy.c b/bus/policy.c
index 7f4a040a..081f5647 100644
--- a/bus/policy.c
+++ b/bus/policy.c
@@ -1710,7 +1710,7 @@ bus_client_policy_check_can_receive (BusClientPolicy *policy,
dbus_message_get_destination (message) != NULL;
params.u.sr.name = dbus_message_get_sender (message);
- _dbus_verbose (" (policy) checking receive rules, eavesdropping = %d\n", eavesdropping);
+ _dbus_verbose (" (policy) checking receive rules, eavesdropping = %d\n", params.u.sr.eavesdropping);
result = check_policy (policy, check_receive_rule, &params,
toggles, NULL, &privilege, &matched_rule);