[PATCH] util: Fix broken syntax-check

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

 



Commit id '743db933' broke at least one syntax check rule regard open/close
braces and perhaps more with spacing.  Just remove the braces

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 Pushed as build breaker

 src/util/virauthconfig.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/virauthconfig.c b/src/util/virauthconfig.c
index b58937c..91c9c0c 100644
--- a/src/util/virauthconfig.c
+++ b/src/util/virauthconfig.c
@@ -123,9 +123,8 @@ int virAuthConfigLookup(virAuthConfigPtr auth,
 
     if (!virKeyFileHasGroup(auth->keyfile, authgroup)) {
        VIR_FREE(authgroup);
-       if (virAsprintf(&authgroup, "auth-%s-%s", service, "default") < 0){
+       if (virAsprintf(&authgroup, "auth-%s-%s", service, "default") < 0)
            goto cleanup;
-       }
     }
 
     if (!virKeyFileHasGroup(auth->keyfile, authgroup)) {
-- 
2.5.5

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