projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b53da
)
qga: Open brace '{' following struct go on the same
author
AlexChen
<alex.chen@huawei.com>
Mon, 26 Oct 2020 09:05:46 +0000
(17:05 +0800)
committer
Michael Roth
<michael.roth@amd.com>
Wed, 17 Mar 2021 01:21:47 +0000
(20:21 -0500)
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>
qga/main.c
patch
|
blob
|
history
diff --git
a/qga/main.c
b/qga/main.c
index 560490467b3ac9d45e955a378f2676f80cb1fbb7..20db0058db7db429ef53ebe20f2286858d140190 100644
(file)
--- 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);