stanley-king 7 rokov pred
rodič
commit
336e94047d

+ 2 - 1
crontab/crawl/page_request.php

@@ -55,7 +55,8 @@ class page_req
                 $this->dispatch->$method($body);
             }
 
-        } while($this->leftcount > 0);
+        }
+        while($this->leftcount > 0);
     }
 
     private function req_item($num_iid)

+ 2 - 1
helper/search/tcp_client.php

@@ -45,7 +45,8 @@ abstract class tcp_client
             if($ret === false) {
                 $this->fini_socket();
             }
-        } while($ret == false && ++$times < 2);
+        }
+        while($ret == false && ++$times < 2);
 
         if($ret == true)
         {