summaryrefslogtreecommitdiff
path: root/src/login/logind-seat-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 01:03:26 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 01:03:26 +0100
commit28383ba18963cdedd98ced271b3425f7321119b7 (patch)
tree5d6254dbdd2dd07476cfaf7b4fd9a72c9048e9c2 /src/login/logind-seat-dbus.c
parent850516e012f0e2c96cecb63c1e8997e13912fcd6 (diff)
bus: add API calls to escape string components of objects paths
Diffstat (limited to 'src/login/logind-seat-dbus.c')
-rw-r--r--src/login/logind-seat-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c
index 53141a892e..268cd993aa 100644
--- a/src/login/logind-seat-dbus.c
+++ b/src/login/logind-seat-dbus.c
@@ -294,7 +294,7 @@ int seat_object_find(sd_bus *bus, const char *path, const char *interface, void
if (!p)
return 0;
- e = bus_path_unescape(p);
+ e = sd_bus_label_unescape(p);
if (!e)
return -ENOMEM;
@@ -312,7 +312,7 @@ char *seat_bus_path(Seat *s) {
assert(s);
- t = bus_path_escape(s->id);
+ t = sd_bus_label_escape(s->id);
if (!t)
return NULL;