mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[MOD] Apologise.
Sorry, Jordan.
This commit is contained in:
parent
a84ce05b9d
commit
2b16ccbaf8
1 changed files with 2 additions and 1 deletions
|
|
@ -112,6 +112,7 @@ Main(void)
|
|||
sigfillset(&sigAction.sa_mask);
|
||||
sigAction.sa_flags = SA_RESTART;
|
||||
|
||||
/* TODO: I stole that from Telodendria. Sorry, Jordan! */
|
||||
#define SIGACTION(sig, act, oact) \
|
||||
if (sigaction(sig, act, oact) < 0) \
|
||||
{ \
|
||||
|
|
@ -127,8 +128,8 @@ Main(void)
|
|||
SIGACTION(SIGTERM, &sigAction, NULL);
|
||||
SIGACTION(SIGPIPE, &sigAction, NULL);
|
||||
SIGACTION(SIGUSR1, &sigAction, NULL);
|
||||
|
||||
#undef SIGACTION
|
||||
|
||||
server = HttpServerCreate(&conf);
|
||||
HttpServerStart(server);
|
||||
LogConfigUnindent(LogConfigGlobal());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue