mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 17:20:32 +01:00
os: utils: minor code formatting cleanup
Just correcting some small indention issues, no actual change.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1518>
(cherry picked from commit 6153b89d19)
This commit is contained in:
parent
6ceebf6cf5
commit
8bd4dc6806
1 changed files with 14 additions and 15 deletions
29
os/utils.c
29
os/utils.c
|
|
@ -578,8 +578,7 @@ UseMsg(void)
|
|||
ErrorF("+xinerama Enable XINERAMA extension\n");
|
||||
ErrorF("-xinerama Disable XINERAMA extension\n");
|
||||
#endif
|
||||
ErrorF
|
||||
("-dumbSched Disable smart scheduling and threaded input, enable old behavior\n");
|
||||
ErrorF("-dumbSched Disable smart scheduling and threaded input, enable old behavior\n");
|
||||
ErrorF("-schedInterval int Set scheduler interval in msec\n");
|
||||
ErrorF("-sigstop Enable SIGSTOP based startup\n");
|
||||
ErrorF("+extension name Enable extension\n");
|
||||
|
|
@ -858,21 +857,21 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
nolock = TRUE;
|
||||
}
|
||||
#endif
|
||||
else if ( strcmp( argv[i], "-maxclients") == 0)
|
||||
{
|
||||
if (++i < argc) {
|
||||
LimitClients = atoi(argv[i]);
|
||||
if (LimitClients != 64 &&
|
||||
LimitClients != 128 &&
|
||||
LimitClients != 256 &&
|
||||
LimitClients != 512 &&
|
||||
else if ( strcmp( argv[i], "-maxclients") == 0)
|
||||
{
|
||||
if (++i < argc) {
|
||||
LimitClients = atoi(argv[i]);
|
||||
if (LimitClients != 64 &&
|
||||
LimitClients != 128 &&
|
||||
LimitClients != 256 &&
|
||||
LimitClients != 512 &&
|
||||
LimitClients != 1024 &&
|
||||
LimitClients != 2048) {
|
||||
FatalError("maxclients must be one of 64, 128, 256, 512, 1024 or 2048\n");
|
||||
}
|
||||
} else
|
||||
UseMsg();
|
||||
}
|
||||
FatalError("maxclients must be one of 64, 128, 256, 512, 1024 or 2048\n");
|
||||
}
|
||||
} else
|
||||
UseMsg();
|
||||
}
|
||||
else if (strcmp(argv[i], "-nolisten") == 0) {
|
||||
if (++i < argc) {
|
||||
if (_XSERVTransNoListen(argv[i]))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue