mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[FIX] Why am I checking for nullness?
This commit is contained in:
parent
ccecc2d435
commit
7c228fcc3d
1 changed files with 0 additions and 6 deletions
|
|
@ -15,12 +15,6 @@ SignalHandler(int signal)
|
||||||
{
|
{
|
||||||
if (server && (signal == SIGTERM || signal == SIGINT))
|
if (server && (signal == SIGTERM || signal == SIGINT))
|
||||||
{
|
{
|
||||||
if (!server)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* TODO: Better way to break out. */
|
|
||||||
Log(LOG_INFO, "Killing thread...");
|
Log(LOG_INFO, "Killing thread...");
|
||||||
XMPPFinishCompStream(jabber);
|
XMPPFinishCompStream(jabber);
|
||||||
pthread_join(xmpp_thr, NULL);
|
pthread_join(xmpp_thr, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue