aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-07 12:42:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-07 12:42:59 +0000
commit818cdb879e55a52de8a1eb3774a8719b635235c4 (patch)
tree2fe0ff5584725c90084f158b4638aa3ee67ceccf
parent3eead2d6c49ef6cc505b7284ca8dd371e51e4cc2 (diff)
POSTs seems to work somewhat now
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index d99d244e1..a78931b30 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -90,7 +90,7 @@ int ProcessRequest(char *request)
do {
if(!strncasecmp("Content-Length:", line, 15))
- contentlength = strtol(line, &line, 10);
+ contentlength = strtol(line+15, &line, 10);
line = strchr(line, '\n');
if(line)