aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sws.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server/sws.c')
-rw-r--r--tests/server/sws.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index c1bbdf7e0..10982b63a 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -1242,6 +1242,8 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
logmsg("Sending response failed. Only (%zu bytes) of (%zu bytes) "
"were sent",
responsesize-count, responsesize);
+ prevtestno = req->testno;
+ prevpartno = req->partno;
free(ptr);
free(cmd);
return -1;