From 49b832c5b810f4d8bb59249ff25472fd670503dc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 30 Nov 2013 04:14:10 +0100 Subject: bus: include unique and well known names in credentials object --- src/libsystemd-bus/bus-convenience.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsystemd-bus/bus-convenience.c') diff --git a/src/libsystemd-bus/bus-convenience.c b/src/libsystemd-bus/bus-convenience.c index 1a9c51fdc7..d4c1929ff7 100644 --- a/src/libsystemd-bus/bus-convenience.c +++ b/src/libsystemd-bus/bus-convenience.c @@ -433,10 +433,10 @@ _public_ int sd_bus_query_sender_creds(sd_bus_message *call, uint64_t mask, sd_b * to get it from the sender or peer */ if (call->sender) - return sd_bus_get_owner(call->bus, call->sender, mask, NULL, creds); + return sd_bus_get_owner(call->bus, call->sender, mask, creds); else return sd_bus_get_peer_creds(call->bus, mask, creds); } - return sd_bus_creds_extend(c, mask, creds); + return bus_creds_extend_by_pid(c, mask, creds); } -- cgit v1.2.3-54-g00ecf