mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
xen: Fix indentation in xenParseXLSpice
This was found by clang-tidy's "readability-misleading-indentation" check. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
8b8d6a24f9
commit
a6675869fb
@ -359,9 +359,8 @@ xenParseXLSpice(virConfPtr conf, virDomainDefPtr def)
|
||||
|
||||
graphics->data.spice.port = (int)port;
|
||||
|
||||
if (!graphics->data.spice.tlsPort &&
|
||||
!graphics->data.spice.port)
|
||||
graphics->data.spice.autoport = 1;
|
||||
if (!graphics->data.spice.tlsPort && !graphics->data.spice.port)
|
||||
graphics->data.spice.autoport = 1;
|
||||
|
||||
if (xenConfigGetBool(conf, "spicedisable_ticketing", &val, 0) < 0)
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user