Skip to content

Commit

Permalink
qga: Open brace '{' following struct go on the same
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AlexChen authored and mdroth committed Mar 17, 2021
1 parent 55b53da commit aaaed19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qga/main.c
Expand Up @@ -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);
Expand Down

0 comments on commit aaaed19

Please sign in to comment.