mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
log the WAIT command
This commit is contained in:
parent
dc25cd6f3a
commit
e373f1fd73
@ -639,8 +639,10 @@ static int send_doc(int sock, struct httprequest *req)
|
|||||||
char *ptr=cmd;
|
char *ptr=cmd;
|
||||||
do {
|
do {
|
||||||
if(2 == sscanf(ptr, "%31s %d", command, &num)) {
|
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 */
|
sleep(num); /* wait this many seconds */
|
||||||
|
}
|
||||||
else
|
else
|
||||||
logmsg("Unknown command in reply command section");
|
logmsg("Unknown command in reply command section");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user