summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 13:56:38 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 13:56:38 -0400
commit5e4a0f3fbfb025c17488b5f066988ee1da030825 (patch)
tree40759aa572d466e615d89865f1f21b89b514ba74 /src
parent8656393c5cbc5171e5baa30bc79fe13ffa0f406d (diff)
Remove printing of HTTP headers
Diffstat (limited to 'src')
-rw-r--r--src/c/driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/driver.c b/src/c/driver.c
index 94436298..09478270 100644
--- a/src/c/driver.c
+++ b/src/c/driver.c
@@ -120,8 +120,6 @@ static void *worker(void *data) {
*s = 0;
- printf("Read: %s\n", buf);
-
if (!(s = strstr(buf, "\r\n"))) {
fprintf(stderr, "No newline in buf\n");
break;
@@ -129,6 +127,8 @@ static void *worker(void *data) {
*s = 0;
cmd = s = buf;
+
+ printf("Read: %s\n", buf);
if (!strsep(&s, " ")) {
fprintf(stderr, "No first space in HTTP command\n");