aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexChen <alex.chen@huawei.com>2020-10-26 17:05:46 +0800
committerMichael Roth <michael.roth@amd.com>2021-03-16 20:21:47 -0500
commitaaaed19972e6cd9ca4d3618d3bdf9ddae780d7b8 (patch)
treedf4d742f5be3b8c283f6b761cb30b4728d37cbb5
parent55b53dabb5b40a797a0c6ec60965da188382d64c (diff)
qga: Open brace '{' following struct go on the same
Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: AlexChen <alex.chen@huawei.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Roth <michael.roth@amd.com>
-rw-r--r--qga/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qga/main.c b/qga/main.c
index 560490467b..20db0058db 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -686,8 +686,7 @@ DWORD WINAPI service_ctrl_handler(DWORD ctrl, DWORD type, LPVOID data,
DWORD ret = NO_ERROR;
GAService *service = &ga_state->service;
- switch (ctrl)
- {
+ switch (ctrl) {
case SERVICE_CONTROL_STOP:
case SERVICE_CONTROL_SHUTDOWN:
quit_handler(SIGTERM);