diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-04-08 11:20:10 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-04-09 22:59:59 +0200 |
commit | 43ef76037696cb238ef0e2a0fb84f982f41c31d8 (patch) | |
tree | 5b4ab9fb6df71f10e6b9ebc1f1b8ba7e5f9b7ec1 /rules/60-persistent-storage.rules | |
parent | 0704ea57b7ed3f9c46f30afea3329a4e5a9d0ea9 (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 'rules/60-persistent-storage.rules')
0 files changed, 0 insertions, 0 deletions