summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");