aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 19:21:34 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-19 19:21:34 +0200
commit0046c1bae61e883199eee61fc2da20799ee2730f (patch)
tree82efd83cc74a2830cdbfba3c818cd2c45285cf0b
parent2ddf522804fd86083a2a3a4c1e9e28e4cac3d2d1 (diff)
downloadlitheweb-0046c1bae61e883199eee61fc2da20799ee2730f.tar.gz
litheweb-0046c1bae61e883199eee61fc2da20799ee2730f.tar.bz2
formatting, condinational compilation
-rw-r--r--picohttp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/picohttp.c b/picohttp.c
index 0e6a360..a532c69 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -1159,14 +1159,11 @@ replay:
} else {
if( mp->in_boundary )
{
-#if 1
if( '\r' == ch ) {
mp->replay = mp->in_boundary-1;
mp->mismatch = mp->req->query.multipartboundary[mp->replay];
mp->in_boundary = 1;
- } else
-#endif
- {
+ } else {
mp->mismatch = ch;
mp->replay = mp->in_boundary;
mp->in_boundary = 0;