stanley-king před 7 roky
rodič
revize
336e94047d
2 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 2 1
      crontab/crawl/page_request.php
  2. 2 1
      helper/search/tcp_client.php

+ 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)
         {