connection: fix documentation
authorDaniel Mack <daniel@zonque.org>
Thu, 25 Dec 2014 17:09:45 +0000 (18:09 +0100)
committerDaniel Mack <daniel@zonque.org>
Thu, 25 Dec 2014 17:09:45 +0000 (18:09 +0100)
A connection can be terminated by simply closing its file descriptor.
Don't confuse readers by mentioning BYEBYE explicitly.

Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.c

index 1074edc5e056802bd4307988393366d0cc15a090..df05ad57289beb80485e854412044f96b3a0bf0e 100644 (file)
@@ -692,8 +692,7 @@ static int kdbus_conn_wait_reply(struct kdbus_conn *conn_src,
                 * Any of the following conditions will stop our synchronously
                 * blocking SEND command:
                 *
-                * a) The origin sender closed its connection with
-                *    KDBUS_CMD_BYEBYE
+                * a) The origin sender closed its connection
                 * b) The remote peer answered, setting reply_wait->waiting = 0
                 * c) The cancel FD was written to
                 * d) A signal was received