Fortunately, the bit fields are at the exact same position,
in the union, so it worked so far...
Change-Id: Iaad9589dfc0f4f7e6a0f4ef4767a600f4cf2f54a
* only when reply was requested. requested_reply=false means the
* rule always applies
*/
- if (!match_params->u.sr.requested_reply && rule->access != BUS_POLICY_RULE_ACCESS_DENY && rule->d.send.requested_reply && !rule->d.send.eavesdrop)
+ if (!match_params->u.sr.requested_reply && rule->access != BUS_POLICY_RULE_ACCESS_DENY && rule->d.receive.requested_reply && !rule->d.receive.eavesdrop)
{
_dbus_verbose (" (policy) skipping %s rule since it only applies to requested replies and does not allow eavesdropping\n",
rule->access == BUS_POLICY_RULE_ACCESS_DENY ? "allow" : "deny");