As mentioned in https://libvirt.org/hacking.html,
using while (1) is better than for (;;).
---
src/libvirt-stream.c| 4 ++--
src/phyp/phyp_driver.c | 2 +-
src/qemu/qemu_migration.c | 2 +-
src/remote/remote_driver.c | 2 +-
src/rpc/virnetclient.c | 6 +++--
On Fri, Sep 23, 2016 at 01:17:40AM +0530, Nitesh Konkar wrote:
As mentioned in https://libvirt.org/hacking.html,
using while (1) is better than for (;;).
I feel like there was a reason for not forbidding it (and also adding an
exception for it in build-aux/check-spacing.pl, but I can't remember
Sure. I just read it in hacking.html and thought of sending this patch.
On Fri, Sep 23, 2016 at 1:58 PM, Martin Kletzander
wrote:
> On Fri, Sep 23, 2016 at 01:17:40AM +0530, Nitesh Konkar wrote:
>
>> As mentioned in https://libvirt.org/hacking.html,
>> using while (1) is better than for (;;).
>>