Fix more formatting

This commit is contained in:
hakril 2024-12-30 07:39:52 -08:00
parent 2736632837
commit 948624aba7
2 changed files with 6 additions and 7 deletions

View File

@ -982,13 +982,12 @@ ngx_get_options(int argc, char *const *argv)
#ifdef NGX_WIN32
case 'i':
// TODO: remove this option if not a Windows build ?
ngx_install_windows_service();
exit(0); // Do something else ?
case 'w':
// Run as windows service
ngx_service = 1; // Error if other options (like -s) is provided ?
ngx_service = 1;
goto next;
#endif

View File

@ -153,5 +153,5 @@ service_handler(DWORD control, DWORD type, void *data, void *ctx)
default:
return ERROR_CALL_NOT_IMPLEMENTED;
}
return 0;
return NO_ERROR;
}