summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-12-20 23:12:42 +0100
committerDaniel Mack <zonque@gmail.com>2013-12-20 23:12:42 +0100
commit5a884f93fdb2a6f89605e44a0e7f4d2db5470b5b (patch)
tree9e87568f379d09397af5d1ad8b62ad8bd8a54fcd /src
parent73842d62d7f7ebdabc160f1a61d9527163d024fa (diff)
libsystemd-bus: match on any connection ID unless specified
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-bus/bus-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c
index 67b06d3932..333968aee4 100644
--- a/src/libsystemd-bus/bus-control.c
+++ b/src/libsystemd-bus/bus-control.c
@@ -715,7 +715,7 @@ static int add_name_change_match(sd_bus *bus,
const char *old_owner,
const char *new_owner) {
- uint64_t name_id = 0, old_owner_id = 0, new_owner_id = 0;
+ uint64_t name_id = KDBUS_MATCH_ID_ANY, old_owner_id = 0, new_owner_id = 0;
int is_name_id = -1, r;
struct kdbus_item *item;