aboutsummaryrefslogtreecommitdiff
path: root/picohttp.c
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-03-12 22:07:37 +0100
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-03-12 22:07:37 +0100
commitccb6ae48b135913588affdd82e11a11054a14a80 (patch)
tree49e833e58affbfe6fddec4b281d41aa35fc6c3c5 /picohttp.c
parent5ff179fad970eb0a878a27511d6c90419bac2cdf (diff)
downloadlitheweb-ccb6ae48b135913588affdd82e11a11054a14a80.tar.gz
litheweb-ccb6ae48b135913588affdd82e11a11054a14a80.tar.bz2
Tue Mar 12 22:07:37 CET 2013
Diffstat (limited to 'picohttp.c')
-rw-r--r--picohttp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/picohttp.c b/picohttp.c
index a7f0066..0420d94 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -2,7 +2,6 @@
#include <alloca.h>
#include <string.h>
-#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
@@ -488,10 +487,7 @@ static int16_t picohttpProcessHeaders (
/* FIXME: Add Header handling here */
while( !picohttpIsCRLF(ch) ) {
- fprintf(stderr, "\n>>> 0x%02x ", (int)ch, stderr);
-
while( !picohttpIsCRLF( ch=picohttpIoSkipSpace(req->ioops, ch)) ){
- fputc(ch, stderr);
if( 0 > ( ch=picohttpIoGetch(req->ioops) ) ) {
return -PICOHTTP_STATUS_500_INTERNAL_SERVER_ERROR;
}
@@ -505,7 +501,6 @@ static int16_t picohttpProcessHeaders (
return -PICOHTTP_STATUS_400_BAD_REQUEST;
}
}
- fputc('\n', stderr);
return ch;
}