From 818cdb879e55a52de8a1eb3774a8719b635235c4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Feb 2002 12:42:59 +0000 Subject: POSTs seems to work somewhat now --- tests/server/sws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3