On 03/22/2011 09:37 AM, Jan Friesse wrote:
> Signed-off-by: Jan Friesse <[email protected]>
> ---
>  tools/corosync-cfgtool.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/tools/corosync-cfgtool.c b/tools/corosync-cfgtool.c
> index 8237fe3..e0b4d1c 100644
> --- a/tools/corosync-cfgtool.c
> +++ b/tools/corosync-cfgtool.c
> @@ -201,6 +201,8 @@ static void showaddrs_do(int nodeid)
>                               saddr = &sin->sin_addr;
>  
>                       inet_ntop(ss->ss_family, saddr, buf, sizeof(buf));
> +                     if (i != 0)
> +                             printf(" ");
>                       printf("%s", buf);
>               }
>               printf("\n");

please use {} in 1 liner if statements.

After that is fixed:

Reviewed-by: Steven Dake <[email protected]>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to