aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-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 fa0561b43..f9fcd6ca5 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -233,7 +233,7 @@ int ProcessRequest(struct httprequest *req)
return 1; /* done */
}
- if(!strncmp("/quit", ptr, 15)) {
+ if(!strncmp("/quit", ptr, 5)) {
logmsg("Request-to-quit received");
req->testno = DOCNUMBER_QUIT;
return 1; /* done */