From ae94bb1a7003c42c43356705d10d841446b6ca28 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 15 May 2015 13:34:07 +0200 Subject: update examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/examples/telephony-and-music/end-call.c | 2 +- doc/examples/telephony-and-music/receive-or-make-call.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples/telephony-and-music') diff --git a/doc/examples/telephony-and-music/end-call.c b/doc/examples/telephony-and-music/end-call.c index edd9754..6198cbb 100644 --- a/doc/examples/telephony-and-music/end-call.c +++ b/doc/examples/telephony-and-music/end-call.c @@ -17,7 +17,7 @@ int main() sprintf(message, "%ji unforce-pause", (intmax_t)getppid()); /* Yes, PPID; in this example we pretend the shell is the telephony process. */ t(bus_open(&bus, "/tmp/example-bus", BUS_WRONLY)); - t(bus_write(&bus, message)); + t(bus_write(&bus, message, 0)); bus_close(&bus); return 0; diff --git a/doc/examples/telephony-and-music/receive-or-make-call.c b/doc/examples/telephony-and-music/receive-or-make-call.c index cdd7390..92132fa 100644 --- a/doc/examples/telephony-and-music/receive-or-make-call.c +++ b/doc/examples/telephony-and-music/receive-or-make-call.c @@ -17,7 +17,7 @@ int main() sprintf(message, "%ji force-pause", (intmax_t)getppid()); /* Yes, PPID; in this example we pretend the shell is the telephony process. */ t(bus_open(&bus, "/tmp/example-bus", BUS_WRONLY)); - t(bus_write(&bus, message)); + t(bus_write(&bus, message, 0)); bus_close(&bus); return 0; -- cgit v1.2.3-70-g09d2