Commit e373f1fd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

log the WAIT command

parent dc25cd6f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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");
      }