POSTs seems to work somewhat now
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Feb 2002 12:42:59 +0000 (12:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Feb 2002 12:42:59 +0000 (12:42 +0000)
tests/server/sws.c

index d99d244e1a9ce517d52241b20a2adf41c6477031..a78931b301e521bd497a84d786269239b69482f7 100644 (file)
@@ -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)