mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[FIX] Do NOT use strlen in a loop
Never. Do. This. Never. It should never cross your mind. Doing so will
punish you. Basic computer science concepts will tell you it's O(n^2).
And it WILL actually matter. Never. Never. Never. Never. Never. Never.
NEVER FUCKING EVER DO THAT EVER AGAIN.
NEVER FUCKING EVER DO THAT EVER AGAIN.
NEVER FUCKING EVER DO THAT EVER AGAIN.
NEVER FUCKING EVER DO THAT EVER AGAIN.
NEVER FUCKING EVER DO THAT EVER AGAIN.
Anyways, also fixes licensing year. On est en octobre et il comprend
toujours pas qu'on est plus en 2023.
This commit is contained in:
parent
13a9d23fa0
commit
147e430a47
5 changed files with 33 additions and 21 deletions
|
|
@ -79,7 +79,7 @@ Main(Array *args, HashMap *env)
|
|||
);
|
||||
ParseePrintASCII();
|
||||
Log(LOG_INFO, "=======================");
|
||||
Log(LOG_INFO, "(C)opyright 2023 LDA");
|
||||
Log(LOG_INFO, "(C)opyright 2024 LDA");
|
||||
Log(LOG_INFO, "(This program is free software, see LICENSE.)");
|
||||
LogConfigIndent(LogConfigGlobal());
|
||||
|
||||
|
|
@ -153,7 +153,6 @@ Main(Array *args, HashMap *env)
|
|||
}
|
||||
}
|
||||
Free(opts);
|
||||
ParseeSetThreads(xmpp, http);
|
||||
}
|
||||
|
||||
if (verbose >= PARSEE_VERBOSE_COMICAL)
|
||||
|
|
@ -167,6 +166,7 @@ Main(Array *args, HashMap *env)
|
|||
{
|
||||
goto end;
|
||||
}
|
||||
ParseeSetThreads(xmpp, http);
|
||||
|
||||
|
||||
Log(LOG_NOTICE, "Connecting to XMPP...");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue