From ed66376b0566bbf3cda1f418ec6b5157d122cd32 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 26 Jul 2022 19:31:31 +0900 Subject: [PATCH] homed: fix dbus node enumerator Fixes #24114. (cherry picked from commit 52023622d2f8312887fcf72ca29bab4ad42c8eb7) (cherry picked from commit 834632a4775e72d361a493979fd038f48163f65c) --- src/home/homed-home-bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/home/homed-home-bus.c b/src/home/homed-home-bus.c index b39ca3262c..4663792e5c 100644 --- a/src/home/homed-home-bus.c +++ b/src/home/homed-home-bus.c @@ -771,6 +771,8 @@ static int bus_home_node_enumerator( r = bus_home_path(h, l + k); if (r < 0) return r; + + k++; } *nodes = TAKE_PTR(l);