diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-12 05:55:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-12 05:55:58 +0100 |
commit | 29a07cdb4a317f2e1ea160b79bfe6eb1be2e6e01 (patch) | |
tree | 4002a201b4947b46fc466af2c27ddbb01ed71210 /src/libsystemd-bus/bus-kernel.c | |
parent | f8e11cda5316055c381f45bd30843c1b54cd323b (diff) |
bus: instead of exposing the dbus1 flags when acquiring a name use our own that are closer to kdbus
This turns around DO_NOT_QUEUE into QUEUE which implies a more useful
default. (And negative options are awful anyway.)
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 81dfba7476..0437c96a9e 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -1020,7 +1020,7 @@ int kdbus_translate_request_name_flags(uint64_t flags, uint64_t *kdbus_flags) { if (flags & SD_BUS_NAME_REPLACE_EXISTING) f |= KDBUS_NAME_REPLACE_EXISTING; - if (!(flags & SD_BUS_NAME_DO_NOT_QUEUE)) + if (!(flags & SD_BUS_NAME_QUEUE)) f |= KDBUS_NAME_QUEUE; *kdbus_flags = f; |