changeset 401:cc71fb7e5e54

Remove printing of HTTP headers
author Adam Chlipala <adamc@hcoop.net>
date Tue, 21 Oct 2008 13:56:38 -0400
parents e756d3a47726
children ebf27030ae3b
files src/c/driver.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/c/driver.c	Tue Oct 21 13:54:48 2008 -0400
+++ b/src/c/driver.c	Tue Oct 21 13:56:38 2008 -0400
@@ -120,8 +120,6 @@
 
         *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 @@
 
         *s = 0;
         cmd = s = buf;
+
+        printf("Read: %s\n", buf);
       
         if (!strsep(&s, " ")) {
           fprintf(stderr, "No first space in HTTP command\n");