diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-07-19 20:17:38 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-07-19 20:17:38 +0200 |
commit | ccc18a18b671e64eeae4f753f099af114c044979 (patch) | |
tree | 72fde5aa3e512651921d23831015aadfa74dc295 | |
parent | ff044e4665ad6459889ee840640e8ff0bd86297f (diff) | |
parent | 3a3e367f76570b9d74b7834f272a1a4dc3e1d1fc (diff) | |
download | litheweb-ccc18a18b671e64eeae4f753f099af114c044979.tar.gz litheweb-ccc18a18b671e64eeae4f753f099af114c044979.tar.bz2 |
Merge branch 'devel'
-rw-r--r-- | picohttp.c | 2 | ||||
-rw-r--r-- | picohttp.h | 2 | ||||
-rw-r--r-- | test/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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: @@ -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 |