summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-04-08 11:20:10 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-04-09 22:59:59 +0200
commit43ef76037696cb238ef0e2a0fb84f982f41c31d8 (patch)
tree5b4ab9fb6df71f10e6b9ebc1f1b8ba7e5f9b7ec1 /src/libsystemd-terminal
parent0704ea57b7ed3f9c46f30afea3329a4e5a9d0ea9 (diff)
bus: simplify bus_message_read_strv_extend()
Avoid unbound for(;;) loop and use the established coding-style: while ((r = sd_bus_message_read*(...)) > 0) { } if (r < 0) return r; This is much easier to read and used all over the code base.
Diffstat (limited to 'src/libsystemd-terminal')
0 files changed, 0 insertions, 0 deletions