From 05fd0c0ea0694d5b69bf13f12fb3256b72028fcd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Apr 2015 08:58:45 +0200 Subject: fix doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/bus.c | 10 +++++----- src/bus.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/bus.c b/src/bus.c index f4f62c2..db16894 100644 --- a/src/bus.c +++ b/src/bus.c @@ -630,11 +630,11 @@ fail: * * 1: continue listening * * -1: an error has occurred * However, the function [`bus_read`] will invoke - * `callback` with `message` one time directly after - * it has started listening on the bus. This is to - * the the program now it can safely continue with - * any action that requires that the programs is - * listening on the port. + * `callback` with `message` set to `NULL`one time + * directly after it has started listening on the + * bus. This is to the the program now it can safely + * continue with any action that requires that the + * programs is listening on the bus. * @return 0 on success, -1 on error */ int diff --git a/src/bus.h b/src/bus.h index abae46b..d67b4f2 100644 --- a/src/bus.h +++ b/src/bus.h @@ -163,11 +163,11 @@ int bus_write(const bus_t *bus, const char *message); * * 1: continue listening * * -1: an error has occurred * However, the function [`bus_read`] will invoke - * `callback` with `message` one time directly after - * it has started listening on the bus. This is to - * the the program now it can safely continue with - * any action that requires that the programs is - * listening on the port. + * `callback` with `message` set to `NULL`one time + * directly after it has started listening on the + * bus. This is to the the program now it can safely + * continue with any action that requires that the + * programs is listening on the bus. * @return 0 on success, -1 on error */ int bus_read(const bus_t *bus, int (*callback)(const char *message, void *user_data), void *user_data); -- cgit v1.2.3-70-g09d2