aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)