Permalink
Browse files

Remove a debug print.

  • Loading branch information...
1 parent 7ff6f04 commit cc6f62e5d9e908755b19269acb9dbb590db618c8 @rosslagerwall committed Jun 25, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/protochttp.c
View
@@ -83,10 +83,8 @@ pchttp_get_length(struct ProtoCHttp *proto)
char **lineptr = lines;
int length = 0;
while (*lineptr) {
- if (g_str_has_prefix(*lineptr, "Content-Length:")) {
- puts(*lineptr);
+ if (g_str_has_prefix(*lineptr, "Content-Length:"))
sscanf(*lineptr, "Content-Length: %d", &length);
- }
lineptr++;
}

0 comments on commit cc6f62e

Please sign in to comment.