diff options
author | Kay Sievers <kay@vrfy.org> | 2013-05-22 00:14:11 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-05-22 00:14:11 +0200 |
commit | bbabc773732a947adda0aa20192e95495a912af7 (patch) | |
tree | 79d8489435c92ad5f8214a0e568deda2cbe6596f /test | |
parent | 01a94738fb4d2db3ef763b2dcc025a2bf57eaceb (diff) | |
download | kdbus-bus-bbabc773732a947adda0aa20192e95495a912af7.tar.gz kdbus-bus-bbabc773732a947adda0aa20192e95495a912af7.tar.bz2 kdbus-bus-bbabc773732a947adda0aa20192e95495a912af7.zip |
test: names - do not iterate two items at once
Diffstat (limited to 'test')
-rw-r--r-- | test/kdbus-util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/kdbus-util.c b/test/kdbus-util.c index 693aff6bc8b..c541676b68c 100644 --- a/test/kdbus-util.c +++ b/test/kdbus-util.c @@ -463,11 +463,8 @@ int name_list(struct conn *conn) } printf("REGISTRY:\n"); - KDBUS_NAME_FOREACH(name, names) { + KDBUS_NAME_FOREACH(name, names) printf(" '%s' is acquired by id %llx\n", name->name, name->id); - name = KDBUS_NAME_NEXT(name); - } - printf("\n"); return 0; |