mirror of
https://github.com/curl/curl.git
synced 2026-04-30 07:27:50 +03:00
log the WAIT command
This commit is contained in:
parent
dc25cd6f3a
commit
e373f1fd73
1 changed files with 3 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue