Fix a few areas where obscure compilers sometimes choke

This commit is contained in:
Jordan Bancino 2022-11-23 17:31:57 +00:00
parent 7544a97c7d
commit 399939654a
3 changed files with 5 additions and 2 deletions

View file

@ -576,7 +576,6 @@ HttpServerWorkerThread(void *args)
char *headerKey;
char *headerValue;
char *headerPtr;
ssize_t i;
if (strcmp(line, "\r\n") == 0)
{

View file

@ -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.
*

View file

@ -37,6 +37,10 @@
#include <sys/stat.h>
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX 256
#endif
unsigned long
UtilServerTs(void)
{