diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-07-17 15:04:44 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-07-17 15:04:44 +0200 |
commit | 08e2fb421acd1684e57f79fd74b1eced4add6f3e (patch) | |
tree | 579c22e75579c5f3ba7379fde31392a902b08f16 | |
parent | 8d66d3911d45e61956d7fe0ee4879482998d0a8e (diff) | |
download | litheweb-08e2fb421acd1684e57f79fd74b1eced4add6f3e.tar.gz litheweb-08e2fb421acd1684e57f79fd74b1eced4add6f3e.tar.bz2 |
...
-rw-r--r-- | picohttp.c | 2 | ||||
-rw-r--r-- | test/bsdsocket.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1247,7 +1247,7 @@ int picohttpMultipartRead( * Probably a lot of code would be shared with the ...Getch variant * and could be placed into a commonly used function. */ - uint16_t ch; + int16_t ch; size_t i; for(i = 0; i < len; i++) { if( 0 > (ch = picohttpMultipartGetch(mp)) ) { diff --git a/test/bsdsocket.c b/test/bsdsocket.c index e090054..90b4702 100644 --- a/test/bsdsocket.c +++ b/test/bsdsocket.c @@ -145,7 +145,7 @@ void rhUpload(struct picohttpRequest *req) struct picohttpMultipart mp = picohttpMultipartStart(req); while( !picohttpMultipartNext(&mp) ) { - fprintf(stderr, "processing form field \"%s\"\n", mp.disposition.name); + fprintf(stderr, "\nprocessing form field \"%s\"\n", mp.disposition.name); for(int16_t ch = picohttpMultipartGetch(&mp); 0 <= ch; ch = picohttpMultipartGetch(&mp) ) { |