Message ID | 5F96916A.2090105@huawei.com |
---|---|
State | Accepted |
Commit | aaaed19972e6cd9ca4d3618d3bdf9ddae780d7b8 |
Headers | show |
Series | None | expand |
diff --git a/qga/main.c b/qga/main.c index 308ebd6581..69660d9abd 100644 --- a/qga/main.c +++ b/qga/main.c @@ -694,8 +694,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);
Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: AlexChen <alex.chen@huawei.com> --- qga/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)