[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] (for discussion) DHCP host mappings using 3 arrays API



"Richard W.M. Jones" <rjones redhat com> wrote:
> This patch is an evolution of the previous patch for implementing DHCP
...
> +    if (maxmappings == 0) return 0;
...
> +                if (col == 0) hwaddr = token;
...
> +                if (!(*hwaddrs)[lines]) goto mem_error;

Hi Rich,

Is there a libvirt style convention that says whether
a one-line if-block is written all on one line?
I find it slightly easier to spot the conditional at a glance
when the statement is on a separate line, but can certainly adapt
to a different style.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]