freeswitch: Whitespace clean up in switch.c.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
b494d46f45
commit
93a429fc11
|
@ -100,7 +100,6 @@ static void handle_SIGCHLD(int sig)
|
||||||
if (sig) {};
|
if (sig) {};
|
||||||
|
|
||||||
pid = wait(&status);
|
pid = wait(&status);
|
||||||
|
|
||||||
if (pid > 0) {
|
if (pid > 0) {
|
||||||
system_ready = -1;
|
system_ready = -1;
|
||||||
}
|
}
|
||||||
|
@ -798,6 +797,7 @@ int main(int argc, char *argv[])
|
||||||
if (rlp.rlim_cur != SWITCH_THREAD_STACKSIZE) {
|
if (rlp.rlim_cur != SWITCH_THREAD_STACKSIZE) {
|
||||||
char buf[1024] = "";
|
char buf[1024] = "";
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
fprintf(stderr, "Error: stacksize %d is not optimal: run ulimit -s %d from your shell before starting the application.\nauto-adjusting stack size for optimal performance...\n",
|
fprintf(stderr, "Error: stacksize %d is not optimal: run ulimit -s %d from your shell before starting the application.\nauto-adjusting stack size for optimal performance...\n",
|
||||||
(int) (rlp.rlim_cur / 1024), SWITCH_THREAD_STACKSIZE / 1024);
|
(int) (rlp.rlim_cur / 1024), SWITCH_THREAD_STACKSIZE / 1024);
|
||||||
|
|
||||||
|
@ -814,12 +814,10 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
return system(buf);
|
return system(buf);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
signal(SIGILL, handle_SIGILL);
|
signal(SIGILL, handle_SIGILL);
|
||||||
signal(SIGTERM, handle_SIGILL);
|
signal(SIGTERM, handle_SIGILL);
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
@ -839,8 +837,7 @@ int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (priority) {
|
||||||
switch(priority) {
|
|
||||||
case 2:
|
case 2:
|
||||||
set_realtime_priority();
|
set_realtime_priority();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue