Skip to content

Commit

Permalink
Remove a debug print.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosslagerwall committed Jun 25, 2012
1 parent 7ff6f04 commit cc6f62e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/protochttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit cc6f62e

Please sign in to comment.