aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-21 06:56:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-21 06:56:54 +0000
commite373f1fd739e653c71fbcb19669d5a021a39ec86 (patch)
treebb21b299763222210605e3a336078f1d917e9e85 /tests
parentdc25cd6f3a58be82c1deac6bf0c07e8d38021a87 (diff)
log the WAIT command
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 96a302ffd..ebfa19759 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -639,8 +639,10 @@ static int send_doc(int sock, struct httprequest *req)
char *ptr=cmd;
do {
if(2 == sscanf(ptr, "%31s %d", command, &num)) {
- if(!strcmp("wait", command))
+ if(!strcmp("wait", command)) {
+ logmsg("Told to sleep for %d seconds", num);
sleep(num); /* wait this many seconds */
+ }
else
logmsg("Unknown command in reply command section");
}