Displaying 1 result from an estimated 1 matches for "sqimap_fgets".
2005 Oct 31
3
Still corrupt indexes in 1A4
...line 93."
Examining this file this line is in function:
--------SQUIRRELMAIL PHP SOURCE------------
/**
  * Custom fgets function: gets a line from the IMAP server,
  * no matter how big it may be.
  * @param stream imap_stream the stream to read from
  * @return string a line
  */
function sqimap_fgets($imap_stream) {
     $read = '';
     $buffer = 4096;
     $results = '';
     $offset = 0;
     while (strpos($results, "\r\n", $offset) === false) {
         if (!($read = fgets($imap_stream, $buffer))) {<- THIS IS LINE 93
         /* this happens in case of an error...