virt plugin: Remove `do {} while(0)` loop around macro.
authorFlorian Forster <octo@collectd.org>
Tue, 28 Nov 2017 07:11:07 +0000 (08:11 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 28 Nov 2017 07:11:10 +0000 (08:11 +0100)
commit0ff2e3c812858d876c9977daf8f51ce5edb60d7e
treeb78494a3e0bbc3756f96fb30d56fee4f55324650
parent035cfa199726ebf03b47199ea04b25351ab5691b
virt plugin: Remove `do {} while(0)` loop around macro.

The `continue` in the macro was supposed to continue the `for` loop, but
was (unexpectedly) exiting the do…while loop instead.

CID: 179238
src/virt.c