diff --git a/src/HttpServer.c b/src/HttpServer.c index dfaab12..9141828 100644 --- a/src/HttpServer.c +++ b/src/HttpServer.c @@ -576,7 +576,6 @@ HttpServerWorkerThread(void *args) char *headerKey; char *headerValue; char *headerPtr; - ssize_t i; if (strcmp(line, "\r\n") == 0) { diff --git a/src/Json.c b/src/Json.c index 7491af2..d0236ea 100644 --- a/src/Json.c +++ b/src/Json.c @@ -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. * diff --git a/src/Util.c b/src/Util.c index b53eed6..000eb8c 100644 --- a/src/Util.c +++ b/src/Util.c @@ -37,6 +37,10 @@ #include #include +#ifndef PATH_MAX +#define PATH_MAX 256 +#endif + unsigned long UtilServerTs(void) {