1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

sd-bus: properly translate high-level attach flags into kdbus attach flags

This commit is contained in:
Lennart Poettering 2014-03-19 18:31:54 +01:00
parent 5a2e420c1f
commit ae439c9f9b

View File

@ -320,7 +320,7 @@ _public_ int sd_bus_negotiate_creds(sd_bus *bus, uint64_t mask) {
/* The well knowns we need unconditionally, so that matches can work */
bus->creds_mask = mask | SD_BUS_CREDS_WELL_KNOWN_NAMES|SD_BUS_CREDS_UNIQUE_NAME;
return kdbus_translate_attach_flags(bus->creds_mask, &bus->creds_mask);
return kdbus_translate_attach_flags(bus->creds_mask, &bus->attach_flags);
}
_public_ int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t server_id) {