[libvirt] [PATCH][thinner] beautify code indent in qemu migration

Osier Yang jyang at redhat.com
Fri Nov 16 08:24:30 UTC 2012


On 2012年11月16日 16:03, liguang wrote:
> Signed-off-by: liguang<lig.fnst at cn.fujitsu.com>
> ---
>   src/qemu/qemu_migration.c |    3 +--
>   1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
> index 9e7ee4f..7a4142c 100644
> --- a/src/qemu/qemu_migration.c
> +++ b/src/qemu/qemu_migration.c
> @@ -790,7 +790,6 @@ qemuMigrationCookieGraphicsXMLParse(xmlXPathContextPtr ctxt)
>       /* Optional */
>       grap->tlsSubject = virXPathString("string(./graphics/cert[@info='subject']/@value)", ctxt);
>
> -
>       return grap;
>
>   no_memory:
> @@ -821,7 +820,7 @@ qemuMigrationCookieNetworkXMLParse(xmlXPathContextPtr ctxt)
>       }
>
>       optr->nnets = n;
> -    if (VIR_ALLOC_N(optr->net, optr->nnets)<0)
> +    if (VIR_ALLOC_N(optr->net, optr->nnets)<  0)
>           goto no_memory;
>
>       for (i = 0; i<  n; i++) {

ACK and pushed. Thanks.

Regards,
Osier




More information about the libvir-list mailing list