libvirt/src/nwfilter
Eric Blake ff78ff7c93 maint: use consistent if-else braces in conf and friends
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 code shared between multiple drivers.

* src/conf/domain_conf.c (virDomainFSDefParseXML)
(virSysinfoParseXML, virDomainNetDefParseXML)
(virDomainWatchdogDefParseXML)
(virDomainRedirFilterUSBDevDefParseXML): Correct use of {}.
* src/conf/interface_conf.c (virInterfaceDefParseDhcp)
(virInterfaceDefParseIp, virInterfaceVlanDefFormat)
(virInterfaceDefParseStartMode, virInterfaceDefParseBondMode)
(virInterfaceDefParseBondMiiCarrier)
(virInterfaceDefParseBondArpValid): Likewise.
* src/conf/node_device_conf.c (virNodeDevCapStorageParseXML):
Likewise.
* src/conf/nwfilter_conf.c (virNWFilterRuleDetailsParse)
(virNWFilterRuleParse, virNWFilterDefParseXML): Likewise.
* src/conf/secret_conf.c (secretXMLParseNode): Likewise.
* src/cpu/cpu_x86.c (x86Baseline, x86FeatureLoad, x86ModelLoad):
Likewise.
* src/network/bridge_driver.c (networkKillDaemon)
(networkDnsmasqConfContents): Likewise.
* src/node_device/node_device_hal.c (dev_refresh): Likewise.
* src/nwfilter/nwfilter_gentech_driver.c (virNWFilterInstantiate):
Likewise.
* src/nwfilter/nwfilter_ebiptables_driver.c
(_iptablesCreateRuleInstance): Likewise.
* src/storage/storage_backend_disk.c
(virStorageBackendDiskBuildPool): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-09-04 08:53:21 -06:00
..
nwfilter_dhcpsnoop.c Fix spacing around commas 2014-08-22 15:03:39 +02:00
nwfilter_dhcpsnoop.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_driver.c Indent top-level labels by one space in src/nwfilter/ 2014-03-25 14:58:39 +01:00
nwfilter_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_ebiptables_driver.c maint: use consistent if-else braces in conf and friends 2014-09-04 08:53:21 -06:00
nwfilter_ebiptables_driver.h Convert nwfilter ebiptablesApplyNewRules to virFirewall 2014-04-25 15:44:10 +01:00
nwfilter_gentech_driver.c maint: use consistent if-else braces in conf and friends 2014-09-04 08:53:21 -06:00
nwfilter_gentech_driver.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_learnipaddr.c Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_learnipaddr.h Remove virDomainNetType parameter from nwfilter drivers 2014-04-25 15:44:09 +01:00
nwfilter_tech_driver.h Merge nwfilter createRuleInstance driver into applyNewRules 2014-04-25 15:44:09 +01:00