aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 20:17:38 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 20:17:38 +0200
commitccc18a18b671e64eeae4f753f099af114c044979 (patch)
tree72fde5aa3e512651921d23831015aadfa74dc295
parentff044e4665ad6459889ee840640e8ff0bd86297f (diff)
parent3a3e367f76570b9d74b7834f272a1a4dc3e1d1fc (diff)
downloadlitheweb-ccc18a18b671e64eeae4f753f099af114c044979.tar.gz
litheweb-ccc18a18b671e64eeae4f753f099af114c044979.tar.bz2
Merge branch 'devel'
-rw-r--r--picohttp.c2
-rw-r--r--picohttp.h2
-rw-r--r--test/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/picohttp.c b/picohttp.c
index 84e0238..6ecc528 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -99,7 +99,7 @@ static size_t picohttp_fmt_int(char *dest,int i) {
#define picohttp_fmt_int fmt_long
#endif
-static char const * const picohttpStatusString(int code)
+static char const *picohttpStatusString(int code)
{
switch(code) {
case 200:
diff --git a/picohttp.h b/picohttp.h
index 83cb5f2..a15cffb 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -120,7 +120,7 @@ struct picohttpRequest {
size_t contentlength;
uint8_t contentencoding;
uint8_t transferencoding;
- unsigned char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
+ char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
size_t chunklength;
} query;
struct {
diff --git a/test/Makefile b/test/Makefile
index e96cb0f..42f862f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,7 +3,7 @@
all: bsdsocket bsdsocket_nhd
bsdsocket: bsdsocket.c ../picohttp.c ../picohttp.h
- $(CC) -std=c99 -DHOST_DEBUG -O0 -g3 -I../ -o bsdsocket ../picohttp.c bsdsocket.c
+ $(CC) -std=c99 -DHOST_DEBUG -O0 -g3 -I../ -Wall -o bsdsocket ../picohttp.c bsdsocket.c
bsdsocket_nhd: bsdsocket.c ../picohttp.c ../picohttp.h
$(CC) -std=c99 -O0 -g3 -I../ -o bsdsocket_nhd ../picohttp.c bsdsocket.c