]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
virnetserver: Remove unnecessary double space
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 7 May 2015 08:01:50 +0000 (10:01 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 14 May 2015 13:03:33 +0000 (15:03 +0200)
Since we don't have syntax-check for this, it has to be checked
manually.  Let's hope this is the only place it happened.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/rpc/virnetserver.c

index b0612750bdb14d06cbb100f466f6da698f58ac7f..42427dc5babb80c460621892b7c598778e675243 100644 (file)
@@ -499,7 +499,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
         goto error;
     }
 
-    n =  virJSONValueArraySize(services);
+    n = virJSONValueArraySize(services);
     if (n < 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                        _("Malformed services data in JSON document"));
@@ -532,7 +532,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
         goto error;
     }
 
-    n =  virJSONValueArraySize(clients);
+    n = virJSONValueArraySize(clients);
     if (n < 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
                        _("Malformed clients data in JSON document"));