mirror of
https://github.com/nginx/nginx.git
synced 2025-07-20 11:16:38 +08:00
Fix more formatting
This commit is contained in:
parent
2736632837
commit
948624aba7
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user