Eric Blake
d194d6e7e6
maint: use consistent if-else braces in remaining spots
I'm about to add a syntax check that enforces our documented
HACKING style of always using matching {} on if-else statements.
This patch focuses on all remaining problems, where there weren't
enough issues to warrant splitting it further.
* src/remote/remote_driver.c (doRemoteOpen): Correct use of {}.
* src/security/virt-aa-helper.c (vah_add_path, valid_path, main):
Likewise.
* src/rpc/virnetsocket.c (virNetSocketNewConnectLibSSH2):
Likewise.
* src/esx/esx_vi_types.c (esxVI_Type_FromString): Likewise.
* src/uml/uml_driver.c (umlDomainDetachDevice): Likewise.
* src/util/viralloc.c (virShrinkN): Likewise.
* src/util/virbuffer.c (virBufferURIEncodeString): Likewise.
* src/util/virdbus.c (virDBusCall): Likewise.
* src/util/virnetdev.c (virNetDevValidateConfig): Likewise.
* src/util/virnetdevvportprofile.c
(virNetDevVPortProfileGetNthParent): Likewise.
* src/util/virpci.c (virPCIDeviceIterDevices)
(virPCIDeviceWaitForCleanup)
(virPCIDeviceIsBehindSwitchLackingACS): Likewise.
* src/util/virsocketaddr.c (virSocketAddrGetNumNetmaskBits):
Likewise.
* src/util/viruri.c (virURIParseParams): Likewise.
* daemon/stream.c (daemonStreamHandleAbort): Likewise.
* tests/testutils.c (virtTestResult): Likewise.
* tests/cputest.c (cpuTestBaseline): Likewise.
* tools/virsh-domain.c (cmdDomPMSuspend): Likewise.
* tools/virsh-host.c (cmdNodeSuspend): Likewise.
* src/esx/esx_vi_generator.py (Type.generate_typefromstring):
Tweak generated code.
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-09-04 14:34:03 -06:00
..
2014-07-16 12:07:24 +02:00
2012-12-11 19:54:37 -05:00
2014-01-09 09:32:55 +01:00
2014-07-25 12:06:07 +02:00
2014-04-01 10:38:14 -06:00
2014-03-25 14:58:41 +01:00
2013-09-03 14:06:11 +02:00
2014-08-28 13:28:32 +02:00
2014-09-04 14:34:03 -06:00
2014-08-26 22:48:05 +02:00
2014-03-25 14:58:41 +01:00
2014-09-04 14:34:03 -06:00
2014-03-25 14:58:41 +01:00
2014-03-10 14:26:04 +01:00
2014-08-28 08:12:16 -04:00
2014-03-10 14:26:04 +01:00
2014-06-02 18:09:09 +02:00
2014-03-25 14:58:41 +01:00
2014-08-12 19:40:20 +04:00
2014-05-16 00:22:18 -06:00
2014-03-25 14:58:41 +01:00
2014-08-20 14:50:21 +02:00
2014-08-27 16:26:26 -06:00
2014-08-19 11:32:51 +02:00
2014-08-28 13:28:32 +02:00
2013-07-10 11:07:31 +02:00
2014-03-10 14:26:04 +01:00
2014-03-25 14:58:41 +01:00
2013-08-08 16:36:31 +01:00
2014-03-03 12:40:32 -07:00
2013-08-19 20:25:53 -06:00
2013-08-28 13:50:10 +02:00
2013-09-13 14:57:52 +02:00