[MOD] Apologise.

Sorry, Jordan.
This commit is contained in:
LDA 2024-06-22 02:16:40 +02:00
commit 2b16ccbaf8

View file

@ -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());