mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:45:10 +00:00
[MOD/FIX] Separate XMPP thread, fix EINVAL issue
threading is good actually. please hmu if you ever trigger the achievement.
This commit is contained in:
parent
299f473a81
commit
143bdf0a5a
21 changed files with 2314 additions and 1764 deletions
12
src/Main.c
12
src/Main.c
|
|
@ -99,11 +99,6 @@ Main(void)
|
|||
goto end;
|
||||
}
|
||||
|
||||
Log(LOG_NOTICE, "Listening to MUCs...");
|
||||
LogConfigIndent(LogConfigGlobal());
|
||||
ParseeSendPresence(conf.handlerArgs);
|
||||
LogConfigUnindent(LogConfigGlobal());
|
||||
|
||||
server = HttpServerCreate(&conf);
|
||||
|
||||
if (!ParseeInitialiseSignals(server, xmpp_thr, jabber))
|
||||
|
|
@ -112,6 +107,13 @@ Main(void)
|
|||
}
|
||||
|
||||
HttpServerStart(server);
|
||||
|
||||
Log(LOG_NOTICE, "Listening to MUCs...");
|
||||
LogConfigIndent(LogConfigGlobal());
|
||||
ParseeSendPresence(conf.handlerArgs);
|
||||
LogConfigUnindent(LogConfigGlobal());
|
||||
|
||||
|
||||
LogConfigUnindent(LogConfigGlobal());
|
||||
Log(LOG_INFO, "=======================");
|
||||
HttpServerJoin(server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue