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

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



On 2012年11月16日 16:03, liguang wrote:
Signed-off-by: liguang<lig fnst 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


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