From: Daniel Stenberg Date: Wed, 21 Apr 2004 06:56:54 +0000 (+0000) Subject: log the WAIT command X-Git-Tag: curl-7_11_2~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e373f1fd739e653c71fbcb19669d5a021a39ec86;p=thirdparty%2Fcurl.git log the WAIT command --- diff --git a/tests/server/sws.c b/tests/server/sws.c index 96a302ffda..ebfa197599 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"); }