forked from Telodendria/Telodendria
Fix compile warnings and errors on Linux
This commit is contained in:
parent
7cc08e67fc
commit
c0474982a6
2 changed files with 2 additions and 4 deletions
|
@ -338,10 +338,7 @@ error:
|
|||
QueueFree(server->connQueue);
|
||||
}
|
||||
|
||||
if (server->connQueueMutex)
|
||||
{
|
||||
pthread_mutex_destroy(&server->connQueueMutex);
|
||||
}
|
||||
pthread_mutex_destroy(&server->connQueueMutex);
|
||||
|
||||
if (server->threadPool)
|
||||
{
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
long
|
||||
|
|
Loading…
Reference in a new issue