forked from lda/telodendria
Fix a few areas where obscure compilers sometimes choke
This commit is contained in:
parent
7544a97c7d
commit
399939654a
3 changed files with 5 additions and 2 deletions
|
@ -576,7 +576,6 @@ HttpServerWorkerThread(void *args)
|
|||
char *headerKey;
|
||||
char *headerValue;
|
||||
char *headerPtr;
|
||||
ssize_t i;
|
||||
|
||||
if (strcmp(line, "\r\n") == 0)
|
||||
{
|
||||
|
|
|
@ -469,7 +469,7 @@ JsonDecodeString(FILE * in)
|
|||
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
|
||||
* character into our buffer will end well.
|
||||
*
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
#include <sys/stat.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 256
|
||||
#endif
|
||||
|
||||
unsigned long
|
||||
UtilServerTs(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue