]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Fix broken syntax-check
authorJohn Ferlan <jferlan@redhat.com>
Thu, 16 Jun 2016 10:17:58 +0000 (06:17 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 16 Jun 2016 10:17:58 +0000 (06:17 -0400)
Commit id '743db933' broke at least one syntax check rule regard open/close
braces and perhaps more with spacing.  Just remove the braces

src/util/virauthconfig.c

index b58937c37530f292e1b58303219c12317008c877..91c9c0c56e1c2e9c1cbfac64d6c542a03944de97 100644 (file)
@@ -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)) {