forked from Telodendria/Telodendria
Fix a few areas where obscure compilers sometimes choke
This commit is contained in:
parent
7544a97c7d
commit
399939654a
|
@ -576,7 +576,6 @@ HttpServerWorkerThread(void *args)
|
||||||
char *headerKey;
|
char *headerKey;
|
||||||
char *headerValue;
|
char *headerValue;
|
||||||
char *headerPtr;
|
char *headerPtr;
|
||||||
ssize_t i;
|
|
||||||
|
|
||||||
if (strcmp(line, "\r\n") == 0)
|
if (strcmp(line, "\r\n") == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -469,7 +469,7 @@ JsonDecodeString(FILE * in)
|
||||||
if (utf8 == 0)
|
if (utf8 == 0)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* We read in a \u0000, null. There is no
|
* We read in a 0000, null. There is no
|
||||||
* circumstance in which putting a null
|
* circumstance in which putting a null
|
||||||
* character into our buffer will end well.
|
* character into our buffer will end well.
|
||||||
*
|
*
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX 256
|
||||||
|
#endif
|
||||||
|
|
||||||
unsigned long
|
unsigned long
|
||||||
UtilServerTs(void)
|
UtilServerTs(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue