[PATCH 12/31] src/parallels: Remove the whitespace before '; '

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

 



---
 src/parallels/parallels_network.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/parallels/parallels_network.c b/src/parallels/parallels_network.c
index 8990609..c126e31 100644
--- a/src/parallels/parallels_network.c
+++ b/src/parallels/parallels_network.c
@@ -366,7 +366,7 @@ static int parallelsConnectNumOfNetworks(virConnectPtr conn)
     parallelsConnPtr privconn = conn->privateData;
 
     parallelsDriverLock(privconn);
-    for (i = 0 ; i < privconn->networks.count ; i++) {
+    for (i = 0; i < privconn->networks.count; i++) {
         virNetworkObjLock(privconn->networks.objs[i]);
         if (virNetworkObjIsActive(privconn->networks.objs[i]))
             nactive++;
@@ -385,7 +385,7 @@ static int parallelsConnectListNetworks(virConnectPtr conn,
     int got = 0, i;
 
     parallelsDriverLock(privconn);
-    for (i = 0 ; i < privconn->networks.count && got < nnames ; i++) {
+    for (i = 0; i < privconn->networks.count && got < nnames; i++) {
         virNetworkObjLock(privconn->networks.objs[i]);
         if (virNetworkObjIsActive(privconn->networks.objs[i])) {
             if (VIR_STRDUP(names[got], privconn->networks.objs[i]->def->name) < 0) {
@@ -402,7 +402,7 @@ static int parallelsConnectListNetworks(virConnectPtr conn,
 
  cleanup:
     parallelsDriverUnlock(privconn);
-    for (i = 0 ; i < got ; i++)
+    for (i = 0; i < got; i++)
         VIR_FREE(names[i]);
     return -1;
 }
@@ -413,7 +413,7 @@ static int parallelsConnectNumOfDefinedNetworks(virConnectPtr conn)
     parallelsConnPtr privconn = conn->privateData;
 
     parallelsDriverLock(privconn);
-    for (i = 0 ; i < privconn->networks.count ; i++) {
+    for (i = 0; i < privconn->networks.count; i++) {
         virNetworkObjLock(privconn->networks.objs[i]);
         if (!virNetworkObjIsActive(privconn->networks.objs[i]))
             ninactive++;
@@ -432,7 +432,7 @@ static int parallelsConnectListDefinedNetworks(virConnectPtr conn,
     int got = 0, i;
 
     parallelsDriverLock(privconn);
-    for (i = 0 ; i < privconn->networks.count && got < nnames ; i++) {
+    for (i = 0; i < privconn->networks.count && got < nnames; i++) {
         virNetworkObjLock(privconn->networks.objs[i]);
         if (!virNetworkObjIsActive(privconn->networks.objs[i])) {
             if (VIR_STRDUP(names[got], privconn->networks.objs[i]->def->name) < 0) {
@@ -448,7 +448,7 @@ static int parallelsConnectListDefinedNetworks(virConnectPtr conn,
 
  cleanup:
     parallelsDriverUnlock(privconn);
-    for (i = 0 ; i < got ; i++)
+    for (i = 0; i < got; i++)
         VIR_FREE(names[i]);
     return -1;
 }
-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]