From 28383ba18963cdedd98ced271b3425f7321119b7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Nov 2013 01:03:26 +0100 Subject: bus: add API calls to escape string components of objects paths --- src/machine/machine-dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/machine') diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index db379d2f8b..7f3b486035 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c @@ -176,7 +176,7 @@ int machine_object_find(sd_bus *bus, const char *path, const char *interface, vo if (!p) return 0; - e = bus_path_unescape(p); + e = sd_bus_label_unescape(p); if (!e) return -ENOMEM; @@ -194,7 +194,7 @@ char *machine_bus_path(Machine *m) { assert(m); - e = bus_path_escape(m->name); + e = sd_bus_label_escape(m->name); if (!e) return NULL; -- cgit v1.2.3-54-g00ecf