From 5a884f93fdb2a6f89605e44a0e7f4d2db5470b5b Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Fri, 20 Dec 2013 23:12:42 +0100 Subject: libsystemd-bus: match on any connection ID unless specified --- src/libsystemd-bus/bus-control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf