Ignore:
Timestamp:
2006/11/13 15:40:52 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/module/Net/Socket.php

    r8275 r8284  
    449449        $timeout = time() + $this->timeout; 
    450450         
    451          
    452         $fp = $this->fp; 
    453         while (($c =@fgets($fp, $this->lineLength))!==false && (!$this->timeout || time() < $timeout)) { 
    454             $line .= $c; 
    455             if (substr($line, -1) == "\n") { 
    456                  
    457                 return rtrim($line, "\r\n"); 
    458             } 
    459         } 
    460          
    461         /* 
    462451        while (!feof($this->fp) && (!$this->timeout || time() < $timeout)) { 
    463452            $line .= @fgets($this->fp, $this->lineLength); 
     
    466455            } 
    467456        } 
    468         */ 
     457 
    469458        return $line; 
    470459    } 
Note: See TracChangeset for help on using the changeset viewer.