]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: whitespace change to virNetDevOpenvswitchAddPort
authorLaine Stump <laine@laine.org>
Thu, 8 Mar 2012 18:31:06 +0000 (13:31 -0500)
committerLaine Stump <laine@laine.org>
Thu, 8 Mar 2012 19:44:08 +0000 (14:44 -0500)
The indentation on the final lines of the function was off by four
spaces, making me wonder for a second if there was something
missing. (There wasn't.)

src/util/virnetdevopenvswitch.c

index e427c9480b14701fd843a851199dfad1c909a2f1..9d6d924ac7be4a57c748d6464047726485eb65bc 100644 (file)
@@ -95,14 +95,14 @@ int virNetDevOpenvswitchAddPort(const char *brname, const char *ifname,
                              ifname, brname);
         goto cleanup;
     }
-    ret = 0;
 
-    cleanup:
-        VIR_FREE(attachedmac_ex_id);
-        VIR_FREE(ifaceid_ex_id);
-        VIR_FREE(profile_ex_id);
-        virCommandFree(cmd);
-        return ret;
+    ret = 0;
+cleanup:
+    VIR_FREE(attachedmac_ex_id);
+    VIR_FREE(ifaceid_ex_id);
+    VIR_FREE(profile_ex_id);
+    virCommandFree(cmd);
+    return ret;
 }
 
 /**