[libvirt-php][PATCH 05/14] libvirt-php.c: Fix code styling issues: no space needed after '[' and before ']'

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

 



Signed-off-by: Katerina Koukiou <k.koukiou@xxxxxxxxx>
---
 src/libvirt-php.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index 235157e..9ee72be 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -1153,7 +1153,7 @@ PHP_MINFO_FUNCTION(libvirt)
     }
 
     if (strlen(features_supported) > 0) {
-        features_supported[ strlen(features_supported) - 2 ] = 0;
+        features_supported[strlen(features_supported) - 2] = 0;
         php_info_print_table_row(2, "Features supported", features_supported);
     }
 
@@ -3732,7 +3732,7 @@ char *generate_uuid_any()
         if ((i == 8) || (i == 13) || (i == 18) || (i == 23))
             a[i] = '-';
         else
-            a[i] = hexa[ rand() % strlen(hexa) ];
+            a[i] = hexa[rand() % strlen(hexa)];
     }
 
     return strdup(a);
-- 
2.7.3

--
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]