summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-20 03:15:03 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-20 23:00:09 +0100
commit9a17484d986f6cb8828afdf911db425b574c63fd (patch)
tree878d64b9079ae9dfd878be7362d58e49128db4cd /src/libsystemd-bus/sd-bus.c
parent5407f2dea3efa5234140f1adb9c2be9916d77cdc (diff)
bus: implement demarshaller
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index f7d7644463..3f23da6ff5 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -760,7 +760,7 @@ static int bus_seal_message(sd_bus *b, sd_bus_message *m) {
if (m->sealed)
return 0;
- return message_seal(m, ++b->serial);
+ return bus_message_seal(m, ++b->serial);
}
static int message_write(sd_bus *bus, sd_bus_message *m, size_t *idx) {
@@ -856,7 +856,7 @@ static int message_make(sd_bus *bus, size_t size, sd_bus_message **m) {
bus->rbuffer = b;
bus->rbuffer_size -= size;
- r = message_parse(t);
+ r = bus_message_parse(t);
if (r < 0) {
sd_bus_message_unref(t);
return r;